How to fix codesign when it says user cancelled the operation? (And I didn't)

Posted by eipipuz on Stack Overflow See other posts from Stack Overflow or by eipipuz
Published on 2010-06-11T16:04:58Z Indexed on 2010/06/11 20:42 UTC
Read the original article Hit count: 360

Filed under:
|
|

I'm compiling an iPhone app meant to be Distributed. It's my first app so I followed the "iPhone Provisioning Profiles" instructions. Unfortunately it fails with this:

CodeSign build/*_*_.app
cd "/Users/videojuegos/Documents/*_*_"
setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign -f -s "iPhone Distribution: ******" "--resource-rules=/Users/videojuegos/Documents/*_*_/build/*_*_.app/ResourceRules.plist" --entitlements "/Users/videojuegos/Documents/*_*_/build/Unity-iPhone.build/Distribution-iphoneos/Unity-iPhone.build/*_*_.xcent" "/Users/videojuegos/Documents/*_*_/build/*_*_.app"

/Users/videojuegos/Documents/*_*_/build/*_*_.app: The operation was cancelled by the user.
Command /usr/bin/codesign failed with exit code 1

I thought Keychain wasn't allowing Codesign to work but as far as I can tell that isn't the case.

I also attempted running these commands from a terminal and it failed with this message:

Users/videojuegos/Documents/*_*_/build/Unity-iPhone.build/Distribution-iphoneos/Unity-iPhone.build/*_*_.xcent: cannot read entitlement data

I have made the xcode setting from scratch three times. Googled it. No results. I don't have any idea what else to try. Any suggestions?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about xcode