我一直致力于一个项目,我今天在我们的两个测试设备上遇到了以下错误。我尝试过以下方法来解决问题,但它仍然坚持:
提供的构建消息是:
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
任何可以帮助确定正在发生的事情的帮助都将受到赞赏。谢谢!
答案 0 :(得分:2)
我能够通过再次授予应用程序文件夹权限来解决此问题。不知何故,某些文件夹的权限已被删除。