I'm trying to us AppCode to run some tests for an iOS8 static framework. The tests compile, link and execute fine in Xcode6, but in AppCode 3.0.6 the linker warns with the following:
Warning:Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest', missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest (2 slices)
After the warning, the linker fails with multiple errors similar to :
"Error:Undefined symbol '_OBJC_METACLASS_$_XCTestCase' referenced from:
Note:ld: symbol(s) not found for architecture arm64"
This makes sense as /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest doesn't support arm64 as an architecture:
lipo -info /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest
Architectures in the fat file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest are: i386 x86_64
It's not clear to me why AppCode is attempting to link for that architecture, XCode does not and it's not an issue there.