ios - XCode unittest build failed with error "Undefined symbols for architecture x86_64" -
my unittest target build failed below error:
undefined symbols architecture x86_64: "_objc_class_$_mcstore", referenced from: objc-class-ref in mcstoretests.o ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation)
basic information:
- xcode6.2
- ios8.2 sdk
what have checked:
symbols hidden default
noother linker flags
-framework xctestframework search paths
$(sdkroot)/developer/library/frameworks $(inherited)
according link, need set bundle loader
below content in unittest target build settings
$(built_products_dir)/myexistingapp.app/myexistingapp
Comments
Post a Comment