farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
04/20/12 01:31 PM (13 years ago)

invalid character in bundle id error and profile error

Hello, I am trying to compile my app to submit for iTunes and I am stuck (Xcode 4.3.1, BT 1.5). I have two problems: 1 - I get 1 warning : invalid character ' ' in Bundle Identifier at column 43. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters. I have no idea where to look to fix that one. 2 - the dreaded "Profile doesn't match application Identifier" appears in the signing part. I read as all on the subject on the forum (I think) but nothing helped. This is what I did so far: -Prepared iTunes Connect to receive my binary -Created my App ID -Created and downloaded my distribution provisioning profile -Following testimonial by GoNorthWest -Changed the architecture to armv6 and armv7 Can anyone please help me to fix this? I am so close to finishing it and this is very fustrating! Thanks in advance, Farcat
 
guisante
Aspiring developer
Profile
Posts: 290
Reg: May 14, 2011
Spain
14,500
like
04/20/12 03:19 PM (13 years ago)
BundleIds are case-sensitive and make sure your com.domainname.app is in your Info.plist.
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
04/21/12 09:14 AM (13 years ago)
Thanks a lot Guisante. I have pulled my hair out for so long over this that I need to be very clear: In Xcode I am looking at the file BT_info.plist, against CFBundleIdentifier (key) I see a value (com.domainname.app) What do I need to check this value against? The app ID in my Distribution Provisioning Profile that I created in the IOS Provisioning Portal? If it is the case they are different, can I change the info manually in the BT_info.plist file in Xcode? By the way I fix my issue number 1 by changing the name of the folder containing the project, go figure... Thanks a lot, Farcat
 
guisante
Aspiring developer
Profile
Posts: 290
Reg: May 14, 2011
Spain
14,500
like
04/21/12 09:20 AM (13 years ago)
Yes! you can change info manually in the info.plit from xcode. And it woulb be the same as your profile.
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
04/21/12 01:54 PM (13 years ago)
Hi Guisante, I would have loved to reply: "Yeah great, all is good!" But it's not. The two IDs matched exactly but I still couldn't sign. So I decided to start from scratch again, I deleted my provisioning profiles from Key chain access and Organizer and I revoked my certificate to reinstall it. I then create a new provisioning profile, downloaded it, when through the process of compiling my app, this time found something to sign with (iPhone Distribution: My Name). Then I "built for Archiving" and I got the error : "Certificate identity 'iPhone Distribution: My Name' appears more than once in the keychain. The codesign tool requires there only be one." Any idea about how to fix this? Pretty please? Thanks, Farcat
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.