找不到与应用程序的标识符匹配的有效供应配置文件 [英] valid provisioning profile matching the application's Identifier could not be found

查看:109
本文介绍了找不到与应用程序的标识符匹配的有效供应配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的设备上测试我的应用程序并且出现错误,指出无法找到与应用程序的标识符'com.mycompany.MyApp'匹配的有效配置文件。我在这里看了很多类似的帖子,但没有人能帮忙。

I'm trying to test my app on my device and am hitting the error stating "A valid provisioning profile matching the application's Identifier 'com.mycompany.MyApp' could not be found". I've read many similar posts here on SO but none have been able to help.

到目前为止我做了什么:

What I've done so far:


  • 在Provisioning Portal上创建了有效的Provisioning Profile。当我查看配置文件的App ID时,它是10CHARSEED.com.mycompany.MyApp(其中10CHARSEED显然是Apple生成的种子ID)

  • created a valid Provisioning Profile on the Provisioning Portal. When I look at the App ID of the profile, it is 10CHARSEED.com.mycompany.MyApp (where 10CHARSEED is obviously the Apple-generated seed id)

在设备名称下,在XCode Organizer中下载并安装了配置文件。 XCode有绿色勾号并告诉我它是有效的配置文件。

downloaded and installed the profile in XCode Organiser, under the device name. XCode has the green tick and tells me it's a Valid Profile.

检查Info.plist捆绑标识符是否与此匹配。确实如此。

checked that the Info.plist Bundle Identifier matches this. It does, exactly.

手动查看project.pbxproj文件以获取对PROVISION的引用,但没有(我发现的其他一些解决方案) SO说要删除这些行,但显然我没有任何删除)。

manually looked inside the project.pbxproj file for references to "PROVISION" but there are none (some of the other solutions I found on SO said to remove these lines, but obviously I don't have any to remove).

退出Xcode并重新启动。

Quit Xcode and restarted.

删除并重新添加了管理器中的配置文件。

removed and re-added the Provisioning Profile in Organiser.

任何想法?

推荐答案

好的,解决了。问题与权限有关。我终于找到了Organizer中的菜单选项,其中显示了来自Developer Portal的刷新(这很奇怪,因为我刚刚安装了的Prov Profile来自门户,所以我不确定它为什么会这样任何不同的)。无论如何,我点击它,它要求我的Apple ID,然后一分钟后它回来说我没有权限添加App ID并让我的团队的管理员去做。因为我可以在我的帐户下手动安装它们,所以不合逻辑。无论如何,我只是让我的管理员让我的会员也是一个管理员,他很乐意这样做,因为我在整个供应过程中一整天都在烦他。在这样做之后,我再次从门户网站刷新并且它没有出错,然后我能够构建并部署到设备。

Ok, solved. The problem was to do with permissions. I finally found the menu option in the Organiser that says Refresh from Developer Portal (which is strange because the Prov Profile I'd just installed came from the portal, so I'm not sure why it would be any different). Anyway I clicked it and it asked for my Apple ID, and then after a minute it came back and said that I didn't have permission to add App IDs and to get an admin from my team to do it. So illogical given that I could install them manually under my account. Anyway, I just got my admin to make my membership also an admin, which he was happy to do because I've been bugging him all day during the provisioning process. After doing that, I again refreshed from portal and it gave no error, then I was able to build and deploy to the device.

这篇关于找不到与应用程序的标识符匹配的有效供应配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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