3
我目前正在試驗Jenkins和CocoaPods。我已經讀過,將Jenkins的CocoaPods和Xcode插件添加到Jenkins中就足夠了。好像我錯過了一些東西,但我無法弄清楚。Jenkins&CocoaPods
Xcode工作區配置爲具有派生的數據文件夾相對於工作區和該文件夾構建。 工作區中的主項目模式文件是共享的。 而這一切被推到資源庫:https://github.com/cyupa/JenkinsWithCocoaPods.git
我還是結束了同一個控制檯輸出,這是不能夠找到莢庫的構建:中
library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/JenkinsWithCocoaPods.build/Release-iphoneos/JenkinsWithCocoaPods.build/Objects-normal/armv7s/JenkinsWithCocoaPods normal armv7s
Ld build/JenkinsWithCocoaPods.build/Release-iphoneos/JenkinsWithCocoaPods.build/Objects-normal/armv7/JenkinsWithCocoaPods normal armv7
Ld build/JenkinsWithCocoaPods.build/Release-iphoneos/JenkinsWithCocoaPods.build/Objects-normal/arm64/JenkinsWithCocoaPods normal arm64 (3 failures) Build step 'Xcode' marked build as failure
Finished: FAILURE
任何想法,我可能會做錯嗎?我應該運行一些腳本,是不是xcodebuild
已經在構建目標時集成了Pods構建?
運氣好嗎?我有同樣的問題... – Redwarp
嗨,Redwarp,請參閱下面的答案。 – Cyupa