user1781040 user1781040 - 1 year ago 133
iOS Question

undefined symbols for architecture armv7s

When i build my old version app ios 4.3 i have this warning

Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_SSSwitch", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_SSHUDView", referenced from:
objc-class-ref in ContractorInfoViewController.o
objc-class-ref in ContractorListViewController.o
objc-class-ref in EvenementBilleterieViewController.o
objc-class-ref in EvenementCoupDeCoeurViewController.o
objc-class-ref in EvenementRequestViewController.o
objc-class-ref in GourmetCoupDeCoeurViewController.o
objc-class-ref in GourmetRequestViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

please help me

Answer Source

Linker errors usually mean that you are trying to access code from a library or similar that is not linked against. In your case it looks like an SS lib of some kind is accessed, but not linked against. Make sure that any potential libraries are added to the project by selecting the project in File Navigator, and then selecting:

Target -> Build Phases -> Link binary with libraries

Hope it helps.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download