Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-18-2011, 11:47 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default Bundle Identifier Error

So Xcode keeps giving me this error that states "<com.apple.tools.product-pkg-utility>: error: could not read CFBundleIdentifier from Info.plist" and claims there is an illegal character used for the bundle identifier but there is no illegal character. My bundle ID is com.domain.AppName with no spaces, asterisks, or numbers. Any suggestions??
msniff16 is offline   Reply With Quote
Old 07-18-2011, 01:01 PM   #2 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

You're sure there is no whitespace? Look at it in a text editor.

Does the app name have any spaces in it?
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 07-18-2011, 02:12 PM   #3 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
You're sure there is no whitespace? Look at it in a text editor.

Does the app name have any spaces in it?
Yes, i am sure. I've retyped the name several times, and have tried everything.
msniff16 is offline   Reply With Quote
Old 07-18-2011, 02:13 PM   #4 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

What is the specific bundle ID you are trying to use?
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 07-18-2011, 05:37 PM   #5 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
What is the specific bundle ID you are trying to use?
this is the specific one:

com.domain.FoodBites

(used the app name in place of asterick after using a wildcard bundle ID com.domain.*)
msniff16 is offline   Reply With Quote
Old 07-18-2011, 06:30 PM   #6 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Hrm. Might try com.yourname.FoodBites just to see if it makes a difference. Clean all targets, restart Xcode, etc.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 07-18-2011, 09:35 PM   #7 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Hrm. Might try com.yourname.FoodBites just to see if it makes a difference. Clean all targets, restart Xcode, etc.
That gives the error:


Code Sign error: Provisioning profile 'FoodBitesDistribution' specifies the Application Identifier 'com.domain.*' which doesn't match the current setting 'com.myname.FoodBites
msniff16 is offline   Reply With Quote
Old 07-18-2011, 09:45 PM   #8 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Ok, so now it is (or at least seems to be) considered a valid identifier, it just doesn't match your profile. So generate a new provision.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 07-19-2011, 05:37 PM   #9 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Ok, so now it is (or at least seems to be) considered a valid identifier, it just doesn't match your profile. So generate a new provision.
After generating new certificates and provisions, Xcode gives the old error again. (FoodBites' contains illegal character '
' <com.apple.tools.product-pkg-utility>: invalid bundle identifier 'com.domain.FoodBites
<com.apple.tools.product-pkg-utility>: error: could not read CFBundleIdentifier from Info.plist (null)

(is there a comma somewhere i am not aware of? (the .plist file bundle ID reads com.domain.FoodBites)
msniff16 is offline   Reply With Quote
Old 07-19-2011, 05:37 PM   #10 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Why do you still have "domain" in there?
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 07-19-2011, 05:39 PM   #11 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Why do you still have "domain" in there?
What is it supposed to be? com.myname.FoodBites does not work either
msniff16 is offline   Reply With Quote
Old 07-19-2011, 05:45 PM   #12 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

You do understand that "domain" is supposed to be your company name, right? Or your own personal identifier, whatever. Examples:

com.apple.keynote
com.microsoft.excel
com.briterideas.slickshopper

So what I'm trying to figure out is if it is complaining about the literal use of "domain" instead of something else. Since you changed it before, it then moved on to complain about the provisions. Which tells me that - and I could still be wrong - the identifier became valid, but simply didn't match your provisions. So you would need to generate new provisions for THAT identifier.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 07-19-2011, 06:04 PM   #13 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
You do understand that "domain" is supposed to be your company name, right? Or your own personal identifier, whatever. Examples:

com.apple.keynote
com.microsoft.excel
com.briterideas.slickshopper

So what I'm trying to figure out is if it is complaining about the literal use of "domain" instead of something else. Since you changed it before, it then moved on to complain about the provisions. Which tells me that - and I could still be wrong - the identifier became valid, but simply didn't match your provisions. So you would need to generate new provisions for THAT identifier.
I created a new provisioning profile matching my app ID that was created with like so: (SeedID)com.myname.FoodBites
After creating the distribution certificate and provision from this the error in Xcode reads:
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.domain.FoodBites
<com.apple.tools.product-pkg-utility>: error: could not read CFBundleIdentifier from Info.plist (null)
<com.apple.tools.product-pkg-utility>: error: could not read CFBundleIdentifier from Info.plist (null)
FoodBites' could not be found
msniff16 is offline   Reply With Quote
Old 07-19-2011, 06:08 PM   #14 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Ok, if the error is still complaining about "domain", then you have "domain" in there somewhere.

Do some Googling on the error message, but there's not much more to tell you.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 07-19-2011, 06:41 PM   #15 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 30
msniff16 is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Ok, if the error is still complaining about "domain", then you have "domain" in there somewhere.

Do some Googling on the error message, but there's not much more to tell you.
I think part of the problem is that keychain wont let me add my distribution provisioning profile, just my distribution certificate. Any reasons why this may be happening? And btw, at one point i had moved all of my app files from one folder to another bc xcode wasn't opening my original project. Everything stil worked fine, but the .plist file would never respond to the changes i made to it. I am not sure if this has anything to do with it, but i am just throwing it out there.
msniff16 is offline   Reply With Quote
Old 07-19-2011, 07:33 PM   #16 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Well, it's probably not doing you any favors. Make another new project, but don't copy over ALL of the files. Just your classes.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Reply

Bookmarks

Tags
bundle identifier, error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 413
15 members and 398 guests
7twenty7, blasterbr, buggen, Clouds, dre, EvilElf, HemiMG, jeroenkeij, jimmyon122, jonathandeknudt, LEARN2MAKE, Mah6447, n00b, nyoe, pungs
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,668
Threads: 94,121
Posts: 402,901
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jonathandeknudt
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:56 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0