Issues between xcodebuild
and Jenkins
提示我在香草xcodebuild
模板上尝试Empty Application
仍然失败:
>> xcodebuild -target FizzBuzz -sdk iphonesimulator7.0 -arch i386
The following build commands failed:
ProcessPCH /var/folders/64/<someHash>/C/com.apple.DeveloperTools/5.0-5A1413/\
Xcode/SharedPrecompiledHeaders/FizzBuzz-Prefix-<someHash>/FizzBuzz-Prefix.pch.pch
FizzBuzz/FizzBuzz-Prefix.pch
normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
>> xcodebuild -version
Xcode 5.0
Build version 5A1413
xcodebuild
的正确咒语是什么?
答案 0 :(得分:0)
这3个对我来说是关键问题:
xcodebuild
仍然依赖于gcc-4.7
(已安装Command Line Tools
)。检查$CC
和unset $CC
,让clang
完成工作。-scheme
选项与xcodebuild
... ONLY_ACTIVE_ARCH=NO
。