Converting wildcard bundle identifier to single ID
I have an app in the app store that uses a wildcard bundle identifier. I want to implement in-app purchashing , which requires a non wildcard ID. How do I convert the wildcard ID of an existing app to a static ID for in-app purchase and push notification?
- Constructing an NSDate from today's date and a string with the time
- My NSURLSessionDelegate methods are not getting called during a background download
- Pass an argument to selector
- AVAudioUnitEQ / .BandPass filter doesn't work
- Create random 128 bit AES Encryption key in iOS
- Can you do custom animations for UITableView Cell Inserts?
3 Solutions Collect From Internet About “Converting wildcard bundle identifier to single ID”
The bundle identifier for an app must always remain the same between updates, but the AppID can actually be different. So all you need to do is create a new AppID that used the same bundle identifier as the original app instead of a wild card.
Apps that use a wildcard still need a normal bundle identifier. The wildcard AppID lets you use any bundle identifier you like, but it still needs one.
You don’t actually need to change the app’s id, you just need to make a new provisioning file for the specific id you’ve already shipped, and then sign the upgraded version of your app with the new code-signing certificate.
That is, if the old app’s bundle id was com.yourcompany.myapp, and signed with a com.yourcompany.* certificate, you just make a new com.yourcompany.myapp certificate, but you leave the app’s bundle identifier the same as before.
In short you can convert an already submitted app that uses a wildcard bundle ID to a unique App ID. However, you’re going to have some issue(s), or fallout from a user standpoint if you do so.
Apple uses bundle ID’s to identify apps on the app store (hence the term App ID :-)).
The problem that you’re facing is that your app is already up on the App Store with possible user downloads. Now when you update your application with the new unique App ID, the users that have already downloaded your application (with the old App ID) will not get the update (with the new unique App ID).
The reason why this happens is that you now have a new bundle ID in your application. With no connection to the old App ID. Since apps can only have one reference to an App ID. It’s usually a good idea to keep an App ID the same throughout the production release, and updates of your application.
If you create a unique ID for your App (which you can). Users that download the new updated app everything will be all fine and dandy, but for the users that downloaded your app before the update. Well… you have now officially created an app orphan for those users, these users will never get that update since it doesn’t match the App ID.
As far as there being a way around this. I’m not sure if there is. I can only suggest that you ALWAYS create unique App ID’s for your future production release applications.
In order to create an application that allows you to use Apple’s Push Notification service, and Apple’s In App Purchase. You will need to create an App ID that is a unique App ID. I would always recommend that you use unique ID’s for your applications. It will save you a ton of headaches later on down the road.
For clarification purposes the following are unique ID’s
- com.companyname.appname (preferred naming convention for unique App ID’s)
- Opens apple maps app from ios app with directions
- iOS App with Static Lib ALWAYS crashes on Launch of Ad Hoc Archive Build. Cant reproduce in Xcode Debugger
- iPhone Interface Orientation on iOS8
- Xcode — get force_load to work with relative paths
- How does on-screen color inversion work in OS X?
- How to know when an AVSpeechUtterance has finished, so as to continue app activity?
- Dismissing of UIImagePickerController dismisses presenting view controller also
- Support command, control and arrow keys when an external keyboard is attached
- UIPickerView select and hide
- How do I create a UI TableView with multiple columns in Xcode?
- iPhone Wifi on or off?
- UItableViewCell imageview changing on select
- Playing alarm in iphone with EKEvent
- Creating Grouped UITableview with Different Cell Types
- Erasing part of an image that overlaps with text from a UILabel