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