Jenkins报错unknown error -1=ffffffffffffffff

The following build commands failed:

PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/HiCashLoan-djgcxytxmkppgudzvpihaseqoxea/Build/Intermediates.noindex/ArchiveIntermediates/HiCashLoan/IntermediateBuildFilesPath/HiCashLoan.build/Release-iphoneos/HiCashLoan.build/Script-901CD856588396CB39642BFF.sh

(1 failure)

[20:17:42]: [31mExit status: 65[0m

 

 

[20:17:43]: ▸ [35m/Users/Shared/Jenkins/Library/Developer/Xcode/DerivedData/HiCashLoan-djgcxytxmkppgudzvpihaseqoxea/Build/Intermediates.noindex/ArchiveIntermediates/HiCashLoan/InstallationBuildProductsLocation/Applications//HiCashLoan.app/Frameworks/ActiveLabel.framework: unknown error -1=ffffffffffffffff[0m

[20:17:43]: ▸ [35mCommand /bin/sh failed with exit code 1[0m

 

 

是因为签名问题导致的,获取钥匙串权限获取不到。

起作用的方法:(MATCH_PASSWORD是管理员密码,fastlane-db是钥匙串名字,在这个路径下,后缀一般是.keychain, 例如login.keychain)

security unlock-keychain -p $MATCH_PASSWORD ~/Library/Keychains/fastlane-db

security set-keychain-settings -l -u -t 3600 ~/Library/Keychains/fastlane-db

security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MATCH_PASSWORD ~/Library/Keychains/fastlane-db

 

bundle exec fastlane beta

 

尝试过得方法:

修改证书,始终信任,没起作用

将证书从登陆拷贝到系统,据说Jenkins读登陆的有权限问题,读系统的没有,但没管用

清除drivedata,没起作用

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值