English 中文(简体)
MBProgressHUD armv7
原标题:MBProgressHUD armv7 error

i m 试图使用甲基溴 HUD. i 增加项目标题,进口舱位头盔,并打电话 HUD from anibaction in this way:

-(IBAction)submitForm:(id)sender{
    MBProgressHUD *HUD = [[MBProgressHUD alloc] initWithView:self.view];
    [self.view addSubview:HUD];
    HUD.labelText = @"Connecting";
    [HUD show:YES];
}

when i build project it happens an error:

Undefined symbols for architecture armv7:
    "_OBJC_CLASS_$_MBProgressHUD", referenced from:
    objc-class-ref in FormViewController.o
    ld: symbol(s) not found for architecture armv7
    collect2: ld returned 1 exit status

How can i fix it? can you help me?

最佳回答

在您的Xcode项目中,在档案清单中(在工作空间的左边)选择了MBProgressHUD.m的文档,并查看该档案的卷宗。

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

“Makeure

问题回答

仅作一gues,但检查以确保<代码> MBProgressHUD.m被添加到您的建筑群建设阶段。

这是XCode进口的杂货错误,删除了M.B.ProgressHUD(Reference ONLY),然后加入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.

尝试添加 Core Graphics.framework





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签