CFBundleIdentifier ==> contains illegal character '*' ?!
I switched to iphone OS and SDK 3, and my app won't build anymore
My bundle identifier is com.dp.*
I get this error in build result
<com.apple.tools.product-pkg-utility>: error: CFBundleIdentifier 'com.dp.*' contains illegal character '*'
Any suggestions on how to fix this?
Thanks
Thats strange, I was able to build mine with no difficulties when I took the plunge. I had difficulties with the provisioning profile in the past and when I get home tonight (if you dont have an answer), i'll get the links to the sites that helped me fix the problem.
The one that worked was going into user file through finder and deleting the profiles in question and then downloading them again and re-adding them to xcode/organizer.
it is valid, and it was working before
from my understanding when u use * at the end, you can simply use that identifier for any app u develop
I might be wrong
Well i guess i'm gonna try to make a normal identifier later and test it again
The reason i went with the "*" at the end is that i couldn't get the normal identifier id to work
it is valid, and it was working before
from my understanding when u use * at the end, you can simply use that identifier for any app u develop
I might be wrong
Well i guess i'm gonna try to make a normal identifier later and test it again
The reason i went with the "*" at the end is that i couldn't get the normal identifier id to work
"The Bundle Identifier portion of an App ID can be substituted with a wild-card character (asterisk '*') so that a single App ID may be used to build and install multiple applications. If the wild-card character is not used, the Bundle Identifier portion of your App ID must be input as your CF Bundle ID in Xcode to allow the application to install on your device. Wild-card App IDs cannot be used with the Apple Push Notification service"
Quote:
Originally Posted by Kalimba
Is that a valid bundle identifier? I thought it was supposed to be something like: com.<domain>.<product_identifier>.
From thinking about it, I actually think you may be right. I think the wildcard is in the dev portal side and applies to your provisioning profile but i'm confused by the wording from the portal so i'm at a loss for now.
Last edited by odysseus31173; 05-15-2009 at 09:08 PM.
"The Bundle Identifier portion of an App ID can be substituted with a wild-card character (asterisk '*') so that a single App ID may be used to build and install multiple applications. If the wild-card character is not used, the Bundle Identifier portion of your App ID must be input as your CF Bundle ID in Xcode to allow the application to install on your device. Wild-card App IDs cannot be used with the Apple Push Notification service"
...
From thinking about it, I actually think you may be right. I think the wildcard is in the dev portal side and applies to your provisioning profile but i'm confused by the wording from the portal so i'm at a loss for now.
My App ID's in the Developer's portal have the asterisk wildcard character ("<random_characters>.com.<my_domain>.*"), but the bundle identifier(s) in my Xcode project(s) actually specify something specific in place of the asterisk.
My App ID's in the Developer's portal have the asterisk wildcard character ("<random_characters>.com.<my_domain>.*"), but the bundle identifier(s) in my Xcode project(s) actually specify something specific in place of the asterisk.
Thats what was the confusing part. Checking my projects at home and thats how mine are. So Kalimba was right that you can't have a wildcard for your app ID in xcode.
ok please somebody help me I need to get this to work ASAP
I created a new app Id, and a new provisioning.
I removed all other provisioning profiles from my iphone and xcode.
I installed the new provisioning on xcode and iphone
In build settings i changed the code signing identity and any iphone OS to:
Automatic profile selector, and the name infront of it is the same as my provisioning (I also tried any other item in there)
In properties i changed the identifier to
com.dp.myApp
Which is the right identifier, I got it from the developer portal
And now when i try to run it says that either my iphone doesn't have the provisioning or the build setting is wrong
I checked my iphone profile and the provisioning exists
Then i checked the build setting and I only have 1 provisioning, so how can this be wrong?
XCode is the dumbest IDE ever made
That's the site I used when I was going through a whole bunch of code signing issues. It only took a week of searching google to find it. This is the step that fixed me, go to your home directory/users/<your comp name>/Library/mobileDevice/Provisioning Profiles. When I went to this, I somehow had a copy of the old profile as well as the new one and so I deleted both, added the current one to xcode and my pain and suffering was over.
Thaks i gotta read that article
but i already removed everything from that folder and copied the new one
I even removed my ad hoc provisioning to make sure it's not causing the error
Thank for the article, I'll read it and post the result back
If that still hasn't fixed it and your naming methods are correct, then i'm really not sure what it could be. I'll cross my fingers for yah though and know what your going through
Thanks for all your help guys.
I finally had to create a new project and import all my files.
The provisioning profiles in the list weren't updated in xcode, and the only way to update them was to create a new project.
by the way i got rid of the wildcard, and i used a normal identifier
Problem Solved