sto cercando di utilizzare MBProgressHUD. ho aggiunto un colpo di testa .m di proiettare, intestazione importati in classe e chiamare MBProgressHUD da un IBAction in questo modo:Errore MBProgressHUD armv7
-(IBAction)submitForm:(id)sender{
MBProgressHUD *HUD = [[MBProgressHUD alloc] initWithView:self.view];
[self.view addSubview:HUD];
HUD.labelText = @"Connecting";
[HUD show:YES];
}
Quando costruisco progetto avviene un errore:
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
Come posso risolvere vero? Mi potete aiutare?
Sembra che manchi l'architettura 'arm7' per il tuo archivio. Hai compilato tu stesso il codice sorgente del framework MBProgressHUD o hai scaricato i file '.framework' o statici' .a' senza costruirlo tu stesso? –
ho scaricato .h e .m da https://github.com/jdg/MBProgressHUD – JackTurky