ibswiftCore.dylib:权限被拒绝,无法在模拟器/设备上运行

时间:2016-10-03 11:52:34

标签: xcode swift3

安装xcode8后,我得到以下内容,编译swift标准库'错误:

将/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/libswiftRemoteMirror.dylib复制到/ Users / kamend / Library / Developer / Xcode / DerivedData / Evento-hhvrbzmhxucgladakdcphldjxugg /构建/产品/调试-的iPhoneOS / UTA.app / libswiftRemoteMirror.dylib 探测/Users/kamend/Library/Developer/Xcode/DerivedData/Evento-hhvrbzmhxucgladakdcphldjxugg/Build/Products/Debug-iphoneos/UTA.app/Frameworks/libswiftCore.dylib的签名   / usr / bin / codesign' -r - ' ' - 显示' ' /Users/kamend/Library/Developer/Xcode/DerivedData/Evento-hhvrbzmhxucgladakdcphldjxugg/Build/Products/Debug-iphoneos/UTA.app/Frameworks/libswiftCore.dylib' /Users/kamend/Library/Developer/Xcode/DerivedData/Evento-hhvrbzmhxucgladakdcphldjxugg/Build/Products/Debug-iphoneos/UTA.app/Frameworks/libswiftCore.dylib:代码对象根本没有签名 Codeigning /Users/kamend/Library/Developer/Xcode/DerivedData/Evento-hhvrbzmhxucgladakdcphldjxugg/Build/Products/Debug-iphoneos/UTA.app/Frameworks/libswiftCore.dylib   / usr / bin / codesign' - 强制' ' - 号' ' 1C2273B489890D7C4407493EB7A4A0BC7E7D38FF' ' - 详细' ' -D' ' DEBUG' ' /Users/kamend/Library/Developer/Xcode/DerivedData/Evento-hhvrbzmhxucgladakdcphldjxugg/Build/Products/Debug-iphoneos/UTA.app/Frameworks/libswiftCore.dylib' /Users/kamend/Library/Developer/Xcode/DerivedData/Evento-hhvrbzmhxucgladakdcphldjxugg/Build/Products/Debug-iphoneos/UTA.app/Frameworks/libswiftCore.dylib:权限被拒绝 错误:任务失败,退出1信号0 {     / usr / bin / codesign' - 强制' ' - 号' ' 1C2273B489890D7C4407493EB7A4A0BC7E7D38FF' ' - 详细' ' -D' ' DEBUG' ' /Users/kamend/Library/Developer/Xcode/DerivedData/Evento-hhvrbzmhxucgladakdcphldjxugg/Build/Products/Debug-iphoneos/UTA.app/Frameworks/libswiftCore.dylib' }

其他项目运行得很好,有什么建议吗?

更新:项目也不能在另一台计算机上运行

1 个答案:

答案 0 :(得分:0)

发现它:) 不知道为什么我将“其他代码签名标志”设置为“-D DEBUG”。 删除它解决了问题