我一直在做一个项目,我在今天的中途遇到了两个测试设备的下面的错误.我试图做以下事情来解决这个问题,但它仍然坚持:
>偏好设置 – >帐户 – >删除帐户 – >添加帐户 – >查看详细信息 – >茶点>重启XCode.
>重启mac
>替换了开发证书和配置文件
>创建新的证书和配置文件
提供的构建消息是:
CodeSign /Users/jlowe/Library/Developer/Xcode/DerivedData/MSIUAT-bmmhsvmhpevuxbalmdsygccqsclg/
Build/Products/Debug-iphoneos/MSIUAT.app
cd /Users/jlowe/Documents/PhoneGap_4.0/MSI/platforms/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/
usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iOS Development: JLowe"
Provisioning Profile: "MSI Development"
(81e07a7b-9a66-4d49-992b-688f1407c5a9)
/usr/bin/codesign --force --sign 26BF4AC4B4E3560A8DD52AE7D6DE0B369326B226 --entitlements /
Users/jlowe/Library/Developer/Xcode/DerivedData/MSIUAT-bmmhsvmhpevuxbalmdsygccqsclg/Build/
Intermediates/MSIUAT.build/Debug-iphoneos/MSIUAT.build/MSIUAT.app.xcent /Users/
jlowe/Library/Developer/Xcode/DerivedData/MSIUAT-bmmhsvmhpevuxbalmdsygccqsclg/Build/Products/
Debug-iphoneos/MSIUAT.app
/Users/jlowe/Library/Developer/Xcode/DerivedData/MSIUAT-bmmhsvmhpevuxbalmdsygccqsclg/Build
/Products/Debug-iphoneos/MSIUAT.app: Permission denied
Command /usr/bin/codesign failed with exit code 1
任何有助于识别正在发生的事情的帮助都将受到赞赏.谢谢!
最佳答案 我能够通过再次授予应用程序文件夹权限来解决此问题.某种程度上,某些文件夹的权限已被删除.