views:

58

answers:

0

I have been successfully building and running applications on my ipod touch (Software version 3.1.3) for months. I recently upgraded to SDK4, and since then, I am not able to build any of my applications for my device.

I get the following error: Command /usr/bin/codesign failed with exit code 1

Expanded, it reads the following for a "MyGrades" application (my name is replaced with 'xxxx')

===========

CodeSign build/Debug-iphoneos/MyGrades.app cd /Users/xxxx/Documents/xCode/MyGrades setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin/codesign -f -s "iPhone Developer: xxxx xxxx (DRMMSJCRQE)" --resource-rules=/Users/xxxx/Documents/xCode/MyGrades/build/Debug-iphoneos/MyGrades.app/ResourceRules.plist --entitlements /Users/xxxx/Documents/xCode/MyGrades/build/MyGrades.build/Debug-iphoneos/MyGrades.build/MyGrades.xcent /Users/xxxx/Documents/xCode/MyGrades/build/Debug-iphoneos/MyGrades.app

/Users/xxxx/Documents/xCode/MyGrades/build/Debug-iphoneos/MyGrades.app: The operation was cancelled by the user.

Command /usr/bin/codesign failed with exit code 1

  • I can build and run on the simulator just fine.
  • I have tried running the "repair" on the Keychain Access, and it didn't find any problems.
  • I set up a new provisioning profile and that didn't help.

Any help would be greatly appreciated.