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??
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
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)
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.
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
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.