所有有效的配置文件都不包含这些设备 [英] None of the valid provisioning profiles include the devices

查看:161
本文介绍了所有有效的配置文件都不包含这些设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已从苹果门户网站的配置文件中删除了部分设备以进行adhoc分发,并将其下载并安装在xcode 6中。
但是在归档项目时,它会显示缺少设备的错误和无效的配置文件。

I have removed some of the devices from the provisioning profile from apple portal for adhoc distribution and downloaded and installed it in xcode 6. But upon archiving the project it shows the error for missing devices and invalid provisioning profile .

我浪费了3关于这个问题4个小时,但没有找到运气。
非常感谢任何形式的帮助。

I have wasted 3-4 hours regarding this issue but found no luck. Any kind of help would be greatly appreciated.

推荐答案

我也遇到了这个错误。我不确定是否需要所有这些步骤,但这正是我所做的修复它,它对我有用...

I just had this error as well. I am not sure if all of these steps are required, but the is exactly what I did to fix it, and it worked for me...


  1. 在设备上,我删除了常规 - >配置文件中的配置文件。

  2. 在Xcode中,在窗口选项卡下打开设备窗口。 (shift + cmd + 2)

  3. 选择设备并复制其标识符

  4. 登录developer.apple.com并转到证书,标识符和配置文件区域

  5. 如果相关设备未注册,请在设备区域中注册。 (我的设备未注册,因此我注册了它)

  6. 在Xcode选项卡下的Xcode首选项中,转到Accounts选项卡并选择您的Apple ID。

  7. 从列表中选择标识,然后点击查看详细信息...按钮。

  8. 在签名身份下,仅列出iOS开发。

  9. 点击此详细信息页面左下角的刷新按钮。

  10. 我被告知我没有分发证书并询问我是否有希望Xcode为我请求一个。我选择是(或请求)

  11. 'iOS发布'然后出现,就在iOS开发条目下

  12. 点击完成 按钮

  13. 退出Xcode首选项

  14. 选择项目的目标,然后选择常规选项卡

  15. 选择团队下拉列表并选择您的团队,即使它已被选中。这会导致Xcode刷新其团队信息。

  1. On the device, I removed the provisioning profile that was in General -> Profile.
  2. In Xcode, under window tab open up the "Devices" window. (shift+cmd+2)
  3. Choose the device and copy its identifier
  4. Login to developer.apple.com and go to the "Certificates, Identifiers & Profiles" area
  5. If the device in question is not registered, register it in the "Devices" area. (My device was not registered, so I registered it)
  6. In Xcode preferences under Xcode tab, go to the Accounts tab and choose your Apple ID.
  7. Choose the identity from the list and then hit the "View Details..." button.
  8. Under "Signing Identities", only "iOS Development" was listed.
  9. Click the "refresh" button on the lower-left of this details page.
  10. I was informed that I didn't have a distribution certificate and asked if I wanted Xcode to request one for me. I chose Yes (or Request)
  11. 'iOS Distribution" then showed up also, just under the "iOS Development" entry
  12. Hit the "Done" button
  13. Exit from the Xcode preferences
  14. Choose the Target for your project, then choose the "General" tab
  15. Choose the "Team" dropdown and pick your team, even if it is already selected. This causes Xcode to refresh its info about the Team.

此时,团队旁边的警告消失了。然后我又尝试在问题iOS设备上运行我的应用程序,它按预期工作。

At this point, my warning next to "Team" went away. I then tried to run my app on the problem iOS device again and it worked as expected.

我希望通过以下步骤,它至少可以帮助您更接近解决问题。

I hope that by following these steps, it will at least help you get closer to fixing your problem.

这篇关于所有有效的配置文件都不包含这些设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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