当我尝试构建我的iPhone时,我得到一个" Swift stdlib工具错误,任务失败,退出1信号0"当我双击它时,它会转到活动日志中的以下内容:
/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib: code object is not signed at all
Codesigning /Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib
/usr/bin/codesign '--force' '--sign' '9CAA1DDB653D3C2804161CCBEFFD314ADA9DCD76' '--verbose' '/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib'
/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib: unknown error -1=ffffffffffffffff
error: Task failed with exit 1 signal 0 {
/usr/bin/codesign '--force' '--sign' '9CAA1DDB653D3C2804161CCBEFFD314ADA9DCD76' '--verbose' '/Users/tommy/Library/Developer/Xcode/DerivedData/iBMR_2018-ershwxhoxphvmjgubqdoefmqqoyy/Build/Products/Debug-iphoneos/iBMR 2018.app/Frameworks/libswiftAVFoundation.dylib'
}
当我在这里搜索时,我发现了这个问题:Swift stdlib tool Error
我下载了我的个人资料,对于iOS开发证书,我有#34; Tommy的iMac"和#34; Untitled",都是日期为11/8/17。 Untitled有一个红色X并说'#34; Missing Private Key&#34 ;,但是唯一的选择就是添加另一个证书,所以不确定这是否是我遇到问题的原因;也不知道该怎么办。
答案 0 :(得分:0)
我有同样的问题。出于某种原因,从头开始的娱乐开发证书和配置文件解决了这个问题。感谢。