Xcode 6.1 / usr / bin / codesign command failed with exit code 1

I was working on a project, and today I found a bug below on our two test devices about halfway through the day. I tried the following to solve the problem, but it still persists:

  • Settings-> Accounts-> Delete Account-> Add Account-> View Details-> Refresh-> Restart Xcode.
  • Restart mac
  • Replaced dev certs and grant profiles
  • New certificates and provisioning profiles created

Provided assembly message:

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

Any help that could help determine what is happening will be appreciated. Thank!

+4
source share
1 answer

, . - .

+2

All Articles