因此,今天早上在我的应用程序上工作几个小时后,Xcode就停止了让我在iPhone上测试我的应用程序。但我仍然可以在模拟器中测试它。
现在,当我构建一个项目时(注意:任何项目,甚至是刚创建的空白单视图项目),我得到以下错误;
Codesigning /Users/name/Library/Developer/Xcode/DerivedData/testProject-brzcahttttlkoqeczajhqslodkkn/Build/Products/Debug-iphoneos/testProject.app/Frameworks/libswiftCore.dylib /usr/bin/codesign '--force' '--sign' '64F8B22715267CC0910110D9C97A2567591C0235' '--verbose' '/Users/name/Library/Developer/Xcode/DerivedData/testProject-brzcahttttlkoqeczajhqslodkkn/Build/Products/Debug-iphoneos/testProject.app/Frameworks/libswiftCore.dylib' SecKey API returned: -25304,(null)/Users/name/Library/Developer/Xcode/DerivedData/testProject-brzcahttttlkoqeczajhqslodkkn/Build/Products/Debug-iphoneos/testProject.app/Frameworks/libswiftCore.dylib: unkNown error -1=ffffffffffffffff error: Task Failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' '64F8B22715267CC0910110D9C97A2567591C0235' '--verbose' '/Users/name/Library/Developer/Xcode/DerivedData/testProject-brzcahttttlkoqeczajhqslodkkn/Build/Products/Debug-iphoneos/testProject.app/Frameworks/libswiftCore.dylib'
我在macOS Sierra 10.12.12上运行Xcode 8.2,在带有iOS 10.1.1的iPhone 6s上进行测试。