iphoneiosapp-storepush-notificationcfbundleidentifier

Uploading app update with different Identifier


I'm working on app update which uses push notifications. when i tried to enable the push notifications to the app id i find this:

Note: Only explicit App IDs can be used to access the Apple Push Notification service. Please use an existing App ID with a specific Bundle Identifier or create a new one.

so i made a new app id and it refused to upload it as an update due to difference in IDs

is there anyway to upload an app update with push notifications?


Solution

  • After uploading an app the first time you can't change the app id anymore! Your issue is that your are using a wildcard app id profile. You do not need to change the app id, you need to change the profile (created on iOS Provisioning Portal) for it.

    When the app id you set in Xcode has been something like com.example.MyAppName and you created an app id profile on iOS Provisioning Portal which is only ABCD123400.* (ABCD123400 is your developer ID) or ABCD123400.com.example.* then you created a wildcard app id profile.

    To use Push Notifications or Game Center you need to use an explicit app id profile. To get this one you need to create an app id profile for ABCD123400.com.example.MyAppName (exact app id, but don't change it, just replace the *-char!).