【问题标题】:Building iOS app on Jenkins slave returns error: The sandbox is not in sync with the Podfile.lock在 Jenkins slave 上构建 iOS 应用程序返回错误:沙箱与 Podfile.lock 不同步
【发布时间】:2016-12-22 13:15:40
【问题描述】:

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


错误:沙盒与 Podfile.lock 不同步。运行'pod install' 或更新您的 CocoaPods 安装。

** 构建失败 **

以下构建命令失败:

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /PATH_TO_PROJECT/Build/Intermediates/xxxx.build/Release-iphoneos/xxxx.build/Script-F0C04920AA373F4352DB3101.sh

(1 次失败)构建步骤“Xcode”将构建标记为失败已完成: 失败


cocoapods 的版本是1.1.1

xCode版本7.3.1

我使用 mac mini 作为从设备 (Sierra OS X)

我已经通过终端运行 pod install 并且从 xCode 构建工作正常。

我会随时解答所有其他问题,并感谢我能获得的所有帮助。

【问题讨论】:

    标签: ios xcode jenkins cocoapods jenkins-slave


    【解决方案1】:

    问题解决了。 由于某种原因,插件“CocoaPods Jenkins 集成”无法正常工作,因此 Podfile.lock 和 Manifest.lock 不同,因此无法构建该项目。

    【讨论】:

    • 不要只说你的问题解决了。在这里写解决方案
    猜你喜欢
    • 1970-01-01
    • 2019-04-11
    • 2020-11-23
    • 2014-02-17
    • 1970-01-01
    • 2021-06-16
    • 2017-11-27
    • 1970-01-01
    • 2017-03-16
    相关资源
    最近更新 更多