xcode编译报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1

升级完xcode9.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全部都是同样的报错信息。

可能的原因:

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

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

解决灵感:

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

最终解决方法:重启电脑!!!

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

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

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

 

转自:http://www.cnblogs.com/dzblog/p/7761943.html

 

xcode编译报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1
如果本文对你有所帮助,请打赏——1元就足够感动我:)
xcode编译报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1xcode编译报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1
联系邮箱:intdb@qq.com
我的GitHub: https://github.com/vipstone
关注公众号: xcode编译报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1


作者: 王磊
出处: http://vipstone.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,请标明出处。

上一篇:【满屏干货】阿里云CDN HTTPS最佳实践汇总


下一篇:命令passwd报错因inode节点处理记录