在Jenkins slave上构建iOS应用程序返回错误:沙箱与Podfile不同步,lock

t9eec4r0  于 11个月前  发布在  iOS
关注(0)|答案(1)|浏览(100)

我在配置Jenkins slave以构建iOS应用程序时遇到了一个问题。我已经按照本教程中的描述设置了所有内容,但每次构建失败时都会出现消息:

error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
 
** BUILD FAILED **
 
The following build commands failed:
 
`PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock
/PATH_TO_PROJECT/Build/Intermediates/xxxx.build/Release-iphoneos/xxxx.build/Script-F0C04920AA373F4352DB3101.sh`
 
(1 failure) Build step 'Xcode' marked build as failure Finished:
FAILURE

字符串
cocoapods的版本是1.1.1
xCode版本7.3.1
我使用Mac mini作为从设备(Sierra OS X)
我已经通过终端运行了pod install,并且从xCode构建工作正常。
我将提供所有其他问题,并将感谢所有的帮助,我可以得到。

yfwxisqw

yfwxisqw1#

问题解决了。由于某种原因,插件“CocoaPods Jenkins Integration”不能很好地工作,所以Podfile.lock和Manifest.lock是不同的,因为这个项目无法构建。

相关问题