xcodebuild构建时报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1

Posted 疲惫的豆豆

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xcodebuild构建时报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1相关的知识,希望对你有一定的参考价值。

CI今日构建时报出如下错误:

/Users/xxx/Library/Developer/Xcode/DerivedData/Snowball-ebllohyukujrncbaldsfojfjxwep/Build/Intermediates.noindex/ArchiveIntermediates/ProjectName/InstallationBuildProductsLocation/Applications//Project.app/Frameworks/AFHTTPRequestOperationLogger.framework: unknown error -1=ffffffffffffffff
Command /bin/sh failed with exit code 1

思来想去,也没找到原因所在,因为公司三个业务app全部都是同样的报错信息。

 

可能的原因:

昨天xcod9进行了小版本更新所致

电脑里存在缓存,ded可以清除缓存

 

解决灵感:

https://stackoverflow.com/questions/41451502/xcodebuild-error-seckey-api-returned-25308

 

最终解决方法:

重启电脑解决

 

若没有解决,请参照如下文档:

https://stackoverflow.com/questions/44173831/codesign-returned-unknown-error-1-ffffffffffffffff

https://stackoverflow.com/questions/39868578/security-codesign-in-sierra-keychain-ignores-access-control-settings-and-ui-p

以上是关于xcodebuild构建时报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1的主要内容,如果未能解决你的问题,请参考以下文章

jdbc向sqlserver插入数据时报错,SQLServerException: 不支持从 UNKNOWN 到 UNKNOWN 的转换

mysqlbinlog 查看binlog日志时报错unknown variable 'default-character-set=utf8'

vue-router应用到组件中时报错Unknown custom element: <router-view>

使用vant时报错Unknown custom element: <van-popup>

QXcbConnection: XCB error: 145 (Unknown), sequence: 171, resource id: 0 报错问题

pipeline构建时报错问题解决