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)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?
arm7
architecture for your library. Did you compile the source code of MBProgressHUD framework yourself or did you download the.framework
or static.a
files without building it yourself? – Abound