gpt4 book ai didi

ios - Jenkins xcodebuild 失败

转载 作者:行者123 更新时间:2023-11-29 05:12:45 25 4
gpt4 key购买 nike

我正在配置 Jenkins 进行 iOS 开发。在构建机器上,以下构建成功。但是当它在 Jenkins 上通过 shell 构建时,它失败了。有人能帮忙吗?非常感谢。

xcodebuild -workspace CompanyReviews.xcworkspace -scheme CompanyReviews -configuration Debug -destination generic/platform=iOS build

enter image description here

最佳答案

请检查上面的评论。这是由于钥匙串(keychain)问题。请在 xcodebuild 之前使用 shell 解锁钥匙串(keychain)。

解锁码在这里:

PASSWORD="This is your mac password"

security set-key-partition-list -S apple-tool:,apple: -s -k $PASSWORD -t private /Users/michaeljordan/Library/Keychains/login.keychain-db

关于ios - Jenkins xcodebuild 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59525077/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com