MBProgressHUD armv7 error

后端 未结 4 1283
一向
一向 2020-12-31 06:12

i\'m trying to use MBProgressHUD. i added header an .m to project, imported header in class and call MBProgressHUD from an ibaction in this way:

-(IBAction)s         


        
相关标签:
4条回答
  • 2020-12-31 06:32

    In your Xcode project, select your MBProgressHUD.m file in the list of files (along the left edge of the workspace) and look at the File Inspector for that file.

    Make sure the checkbox is ON for your project in the "Target Membership" setting.

    Make sure Target Membership is selected for your .m file

    0 讨论(0)
  • 2020-12-31 06:42

    try to add CoreGraphics.framework

    0 讨论(0)
  • 2020-12-31 06:43

    Just a guess, but check to make sure that MBProgressHUD.m is added to your Build Sources build phase.

    0 讨论(0)
  • 2020-12-31 06:49

    This is weird error with XCode import, Delete MBProgressHUD (Reference ONLY) then add back to XCode.

    if it doesn't work Few Extra steps.
    1. Delete MBProgressHUD (Reference ONLY).
    2. Comment the code related to MBProgressHUD.
    3. Build.
    4. Add MBProgressHUD to XCode.
    5. Uncomment code.
    6. Build.

    0 讨论(0)
提交回复
热议问题