Updating live App ID for Push notifications

匿名 (未验证) 提交于 2019-12-03 02:49:01

问题:

I have an app in the App Store which has a wildcard App ID. I want to add push notifications to it, but cannot as we have a wildcard App ID. This is the error I get:

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.

Can I create a new App ID for my app that is live in the store? Won't that cause issues? I'm confused as to how I can add push at this stage?

[EDIT] Can I setup a new one using the same App ID, but use a new bundle identifier?

Cheers

回答1:

You can create a new App ID using the App ID prefix you created before, the bundle indentifier or the App ID sufix must be something else. This can't be a wildcard character.

So for example you now use the following AppID; ABCDEFGHIJ.*

It must be transformed to something like this to use the push notification service; ABCDEFGHIJ.nl.jeroendeleeuw.appname



回答2:

Michael Morrison's comment contains the info you (likely) want. At the bottom is what you're really looking for.

The link:

https://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/DevPortalGuide/CreatingandConfiguringAppIDs/CreatingandConfiguringAppIDs.html#//apple_ref/doc/uid/TP40011159-CH18-SW1

The helpful section:

Updating Your App to Include APNS, iCloud, In-App Purchase, or Game Center Requires an Explicit App ID

As you develop, you might want to add features to your app. To support APNS, iCloud, In-App Purchase, or Game Center, you need an app signed with a provisioning profile that uses an explicit app ID. If you have an app that uses a wildcard app ID, you need to create a new app ID and then modify your provisioning profile.

To update your app ID: Identify your app’s current bundle ID in Xcode or iTunes Connect.

Create a new app ID in the App IDs area of the iOS Provisioning Portal with your app’s bundle ID search string.

Enable your app ID for APNS or iCloud (see “Configuring Your App ID for Apple Push Notification Service” or “Configuring Your App ID for iCloud”). Explicit app IDs are automatically enabled for In-App Purchase and Game Center.

Modify your provisioning profile to use the new explicit app ID.



回答3:

The process of changing the app id is documented here:

http://developer.apple.com/library/ios/#qa/qa1680/_index.html

Updated - Mar 24, 2015: The link is no longer online but you can still has here:

http://web.archive.org/web/20111006112505/http://developer.apple.com/library/ios/#/web/20111006170433/http://developer.apple.com/library/ios/qa/qa1680/_index.html

As provided in the comments below.



回答4:

Contact apple. If you change the bundle ID, your app will be uploaded as a new program. You can't do Push Notification with a specific bundle ID.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!