Preprocessed plist with non-Automatic Profile selected gives Code Signing Error for iOS app
Preprocessed plist with non-Automatic Profile selected gives Code Signing Error for iOS app
- Subject: Preprocessed plist with non-Automatic Profile selected gives Code Signing Error for iOS app
- From: Scott Johnson <email@hidden>
- Date: Wed, 15 Jun 2011 09:17:11 -0700
Hi all--
I am getting a Code Signing Error that the Application Identifier from the profile does not match the one set in the project for my iOS app. It claims that it is set as 'null' in the project.
This appears to be due to the fact that we are preprocessing the Info.plist file, so Xcode does not recognize the identifier from CFBundleIdentifier. Actually, it CAN recognize the identifier when I do a build using "Automatic Profile Selector" in Project->Edit Project Settings->Code Signing Identity, but if I use a more specific Provisioning Profile for this setting (not just "iPhone Distribution" but specifically choose one of the two Distribution profiles I have on my machine) then I get the error above.
I need to use a preprocessed Info.plist because we have multiple apps and do not want to create redundant plists. I also cannot use the "Automatic Profile Selector" because I would like to have two Distribution profiles on my computer--one for Ad Hoc and one for App Store so that I can build both at the same time.
The reasoning here is that I want to build an App Store build every time I build an Ad Hoc build. I will do all of my testing on the Ad Hoc build and continue rebuilding and testing until I am happy with it. Then when we have the final Ad Hoc build that we are happy with, we just go and submit the last App Store build that we have created. I hate the idea of building, testing, rebuilding, then finally validating the app and saying, "Ok, now that we have a final app that we are happy with, let's build another one that we can't test and submit that to the App Store." That doesn't make any sense to me and I hope to avoid having to do that.
Unfortunately, my configuration (preprocessed Info.plist and non-Automatic Profile) seems to be an obstacle here.
Any ideas about what I might be doing wrong? Is this just a bug in Xcode?
Thanks,
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden