开启远程通知时,带有标识符的应用程序ID不可用 [英] App ID with identifier not available when turning on remote notification

查看:90
本文介绍了开启远程通知时,带有标识符的应用程序ID不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个刚刚提交到应用商店的应用。在开发人员门户中,它已检查了推送通知,但尚未配置。

I have an app which I've just submitted to the app store. In the developer portal it has push notification checked, however it's not yet configured.

我想向此应用添加推送通知功能。我尝试在 XCode功能选项卡中打开推送。有一个问题,我按修复问题,它说该ID不可用,尽管它是应用程序商店中已经可用的应用程序ID。

I want to add Push notification capability to this app. I try to turn on Push in XCode Capability tab. There was a issue and I press fix issue, it said the ID is not available, though it it the ID for the app already available in the app store.

也在常规标签下:

现在我该怎么解决?尽管已阅读Ray Wenderlich的 iOS代码签名:高级知识,但我仍然头疼。

Now what do I do to fix it? Despite having read "iOS Code Signing: Under The Hood" from Ray Wenderlich I'm still having a headache.

编辑:

好的,接受的答案并非如此。我终于在Apple论坛的JRRevuelta的帖子中找到了这个问题的正确答案:

OK the accepted answer wasn't really it. I finally found the correct answer to this question from JRRevuelta's post in the Apple forum:


转到您的Apple开发人员证书,ID,配置文件,然后在
的应用程序ID列表下找到有问题的应用程序ID,如果您的应用程序ID为
,格式为com.myDomain.MyApp,则应用程序ID中的名称记录
必须为: XC com myDomain MyApp不要问我为什么,但是它可以工作。
(这是您从XCode创建记录
时XCode分配的默认名称),但是对于以前存在的记录或直接在Developer站点中创建
的记录,该名称应为您
想要...但是不是。在最新的XCode
版本之一中引入了一些故障。

Go to your Apple Developer "Certificates, Ids, Profiles", and under your App IDs list find the App ID in question and, If your App ID is in the form: com.myDomain.MyApp Then the name in your App ID record has to be: "XC com myDomain MyApp" Don't ask me why, but it works. (is the default name that XCode assigns when you create the record from XCode), but for records that exist prior or that you created directly in the Developer site, the name should be whatever you want... but its not. Some glitch introduced in one of the latest XCode releases.

显然,此问题仅在最近的Xcode中出现。

Apparently this problem only surface in recent Xcode.

推荐答案

检查以下步骤可能会解决您的问题:

Check the following steps it may solve your problem:


  • 由Xcode从开发人员门户手动删除无效的iOS团队配置文件

  • 手动创建的iOS开发人员配置文件

  • 通过Xcode下载了它

有关更多信息,您可以检查: https ://stackoverflow.com/a/36175175/4557505 答案,这将回答您遇到的同一问题

For more information you can check: https://stackoverflow.com/a/36175175/4557505 answer, this answers the same issue which you are having

这篇关于开启远程通知时,带有标识符的应用程序ID不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆