can't link with a main executable file

ld: can't link with a main executable file '/Users/Name/Library/Developer/Xcode/DerivedData/Clumsy_Bird-gotvuaeuyvrkzvfqpzsuxpmifimu/Build/Products/Debug-iphoneos/Clumsy Bird.app/Clumsy Bird' for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)



product schema edit schema 
run 选择release
build 中xxxTests 只勾选Test,
build中xxx 勾选全部

猜你喜欢

转载自xierangh.iteye.com/blog/2302397