前言
今天(4月29日),笔者在做免费开发者证书真机调试的时候.发现如下问题:
问题:
Unable to add App ID because the '10' App ID limit in '7' days has been exceeded.

翻译如下:


寻求解决问题过程:
第一次遇到,于是开始百度,发现百度没有这个问题.进行简要搜索时发现:

也是今天发布的寻找答案的,于是只能借助更强大的搜索:

在stack overflow中发现也有出现此问题:

链接如下:http://stackoverflow.com/questions/36923849/unable-to-add-app-id-because-the-10-app-id-limit-in-7-days-has-been-exceeded
发现这个问题是4月28日晚上18点提交的,具体美国时间比中国晚一天,也就是说也是今天才发现的这个问题,看到解决方案.
然后再开始跟苹果技术支持邮件联系得出如下答案:

于是得出结论.
问题原因:
这是苹果对Bundle Identifier进行了封锁.
推测:苹果于今天修改了规格,限制了开发者使用免证书的真机调试次数.
根据客服回电的答案得出,一个App ID,免证书真机调试只能进行10次,具体时间没有说明.
但是根据字面翻译意思在7天内只能创建10个项目文件(最主要的是Bundle Identifier名称),关于7天之外是否还能继续创建项目工程,笔者会持续更新.
解决方案:
1.更换成开发者账号的App ID.(呵呵,你懂得.)
2.暂时解决方案,更换Bundle Identifier,把此前真机调试项目工程的Bundle Identifier更换成现在的项目工程的Bundle Identifier,(亲测可用!!)
3.重新创建项目工程的时候直接写成以前的真机测试通过的项目名字.(亲测可用!!)
解决方案会持续更新.....
如果更换Bundle Identifier还是没有解决:(亲测可用!!)
当出现更换这里的Bundle Identifier还是没有用的时候

一、更换项目工程里面的Bundle Identifier
1.右键项目工程文件:显示包内容(Show Package Contents)

2.打开第一个文件: project.pbxproj

3.搜索: PRODUCT_BUNDLE_IDENTIFIER 进行替换

4.发现有2个PRODUCT_BUNDLE_IDENTIFIER ,替换后面的 >>".----"<<,更换成以前自己可以真机调试Bundle Identifier

这样也是可以的.
二 . 忘记之前创建的Bundle Identifier
1.可以在偏好设置里面选择证书详情视图查找,Preferences
->Accounts
->View Details

2.根据排序,选择最近创建的Bundle Identifier

本文转载自:
文/RamboLu(简书作者)