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 no
  • other linker flags -framework xctest
  • framework 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

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -