Search code examples
objective-cmbprogresshud

Undefined symbols for architecture i386 arises when building Xcode4.3.2 project


the error above arises when i attempt to build an Xcode project , the details of the error appears below , i can't understand the reason of this error, or how to resolve it, please help, thanks.

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_MBProgressHUD", referenced from:
      objc-class-ref in BasicViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution

  • You need to build MBProgressHUD for the simulator as well.