我正在使用 Jenkins 进行持续合规,但我的 iOS 项目无法运行。我的应用程序以交互方式构建和运行得很好。RestKit 是我项目中的一个 git 子模块。
这项工作失败了:
CompileC build/testApp.build/Release-iphoneos/testApp.build/Objects-normal/armv7/main.o testApp/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DCONFIGURATION_Release -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=5.0 -iquote /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/testApp-generated-files.hmap -I/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/testApp-own-target-headers.hmap -I/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/testApp-all-target-headers.hmap -iquote /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/testApp-project-headers.hmap -iquote../GMGridView/GMGridView -iquote/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/Release-iphoneos/../../Headers "-iquote”/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/Release-iphoneos/usr/local/lib/include”" "-iquote”/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/UninstalledProducts/include”" -I/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/Release-iphoneos/include -I../GMGridView/GMGridView -I/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/Release-iphoneos/../../Headers -I/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/../UninstalledProducts/include "-I”/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/UninstalledProducts/include”" "-I”/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/Release-iphoneos/usr/local/lib/include”" -I/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/DerivedSources/armv7 -I/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/DerivedSources -F/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/Release-iphoneos -F/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/QuincyKit -DNS_BLOCK_ASSERTIONS=1 -include /var/folders/zn/81z3gcmj00xg6rn2mg7qzgvh0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/testApp-Prefix-glmuagpwjeknolcbkgvqhsdakvok/testApp-Prefix.pch -MMD -MT dependencies -MF /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/Objects-normal/armv7/main.dia -c /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/testApp/main.m -o /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/build/testApp.build/Release-iphoneos/testApp.build/Objects-normal/armv7/main.o
In file included from /Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/testApp/main.m:11:
/Users/bob/.jenkins/jobs/appNameOut-iOS/workspace/testApp/testApp/AppDelegate.h:14:9: fatal error: 'RestKit/RestKit.h' file not found
#import <RestKit/RestKit.h>
^
1 error generated.