How to fix CodeSign when it says that the user has canceled the operation? (And I did not)

I am building an application for iPhone intended for distribution. This is my first application, so I followed the instructions for iPhone Provisioning Profiles. Unfortunately this fails:

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 did not allow Codesign to work, but as far as I can tell, that is not the case.

I also tried to execute these commands from the terminal, and this message did not work out:

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

I did xcode setup from scratch three times. Ruined it. No results. I do not know what else to try. Any suggestions?

+7
ios iphone xcode codesign
source share
1 answer

You have the rights value in the project build settings. If so, delete it and try again.

0
source share

All Articles