当我在 iPhone 5s 模拟器上运行时出现了这个错误。在低版本的 iPhone 5s 上正常执行。在我的应用程序中,我使用第三方库 CompuwareUEM。并且添加了与 CompuwareUEM 相关的所有文件和库文件,并且它支持 64 位。
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_CompuwareUEM", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in SplashScreenViewController.o
objc-class-ref in CreateProfileViewController.o
objc-class-ref in MyTripsViewController.o
objc-class-ref in SettingsViewController.o
objc-class-ref in TrackingViewController.o
objc-class-ref in UserloginViewController.o
...
"_OBJC_CLASS_$_UEMAction", referenced from:
objc-class-ref in SplashScreenViewController.o
objc-class-ref in CreateProfileViewController.o
objc-class-ref in MyTripsViewController.o
objc-class-ref in SettingsViewController.o
objc-class-ref in TrackingViewController.o
objc-class-ref in UserloginViewController.o
objc-class-ref in PickTripViewController.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
你们中有谁能帮我吗?提前致谢。