02-23-2011, 09:02 AM
#1 (permalink )
Registered Member
Join Date: Feb 2011
Posts: 3
Codesign failed with exit code 1
I have created an app; it runs fine in the simulator, and I am at the point where I want to upload to the app store.
I have followed the instructions carefully for code signing for distribution, but when I try to build the app for distribution I get a "Codesign failed with exit code 1" error.
I have read some other threads on this topic and cannot find a solution that works for me. I appreciate assistance on this; below is the error code message;
CodeSign build/Distribution-iphoneos/pscan.app
cd /Users/Jesse/Downloads/buzztouch_v14_iPhone_BC8ADDA62C266F93
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 Distribution: Troy McLellan" --resource-rules=/Users/Jesse/Downloads/buzztouch_v14_iPhone_BC8ADDA62C266F93/build/Distribution-iphoneos/pscan.app/ResourceRules.plist --entitlements /Users/Jesse/Downloads/buzztouch_v14_iPhone_BC8ADDA62C266F93/build/pscan.build/Distribution-iphoneos/pscan.build/pscan.xcent /Users/Jesse/Downloads/buzztouch_v14_iPhone_BC8ADDA62C266F93/build/Distribution-iphoneos/pscan.app
iPhone Distribution: Troy McLellan: ambiguous (matches "iPhone Distribution: Troy McLellan" in /Library/Keychains/System.keychain and "iPhone Distribution: Troy McLellan" in /Users/Jesse/Library/Keychains/login.keychain)
Command /usr/bin/codesign failed with exit code 1
02-23-2011, 09:10 AM
#2 (permalink )
Registered Member
Join Date: Oct 2009
Location: Amsterdam, The Netherlands
Posts: 782
This line tells all:
Troy McLellan: ambiguous (matches "iPhone Distribution: Troy McLellan" in /Library/Keychains/System.keychain and "iPhone Distribution: Troy McLellan" in /Users/Jesse/Library/Keychains/login.keychain)
You have the certificate for singing in both the system as your personal kaychain.
Just remove one.
__________________
If my answer helped you, you might want to help me.
Make a
donation via PayPal .
02-23-2011, 08:14 PM
#3 (permalink )
Registered Member
Join Date: Feb 2011
Posts: 3
It worked, awesome and thank you so much!!!!
04-16-2011, 05:44 PM
#4 (permalink )
Registered Member
Join Date: Jan 2009
Posts: 298
I have this same error. However, after deleting the old developer profile, it just mysteriously pops back in whenever I try and build my app in Xcode4. In Organizer, under developer profile, it lists 2 developer profiles of the same kind. How can I remove this completely without it popping back in again?
Thread Tools
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
» Advertisements
» Online Users: 373
18 members and 355 guests
Absentia , akphyo , apatsufas , BinHex , cpsclicker , dre , Error404 , Gaz , gmarro , jeroenkeij , Kirkout , mottdog , Music Man , PavelMik , teebee74 , whitey99 , Wikiboo
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,666
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, cpsclicker