我有一个问题就是杀了我.这就是:我在xCode中的app和app项目在我尝试在xCode UI中完成所有工作时非常完美.我指的是构建,运行,测试或在我拥有的所有不同目标中的任何内容(3),应用程序中的2个以及用于测试的目标.
当我尝试在Jenkins中安装一个连续集成到我的系统时出现了问题.我需要在shell中执行一些命令.像这样的命令:
xcodebuild -project MYPROJECT -sdk iphonesimulator -scheme TESTS_SCHEME TEST_AFTER_BUILD=YES
Run Code Online (Sandbox Code Playgroud)
我也尝试过这个另外一个,它最终会做同样的事情:
xcodebuild -project MY_PROJECT -target TEST_TARGET -sdk iphonesimulator -configuration "Debug"
Run Code Online (Sandbox Code Playgroud)
然后当问题出现时,终端说出以下内容:
....PrecompiledHeaders/MYLIBRARY-Prefix-hhjuztynfruquodlgqxroyfibfkh/MYLIBRARY-Prefix.pch.d
clang: error: invalid architecture 'arm' for deployment target '-mios-simulator-version-min=4.3'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
** BUILD FAILED **
The following build commands failed:
ProcessPCH /Users/nicoyuste/Library/Developer/Xcode/DerivedData/MY_APP-bxpgsdbefuawmiexyikbtvsatlsf/Build/Intermediates/PrecompiledHeaders/MYLIBRARY-Prefix-hhjuztynfruquodlgqxroyfibfkh/MYLIBRARY-Prefix.pch.pth MYLIBRARY-Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Run Code Online (Sandbox Code Playgroud)
我一直在寻找互联网(几乎在这里),但我发现的同样问题的一切都不适合我.xCode版本是4.5,如果你这样做xcodebuild -version是我得到的那么好.
我也尝试过更改头文件以及我发现的所有内容,但没有任何修复我的问题...
有什么建议...