Xcode Organizer - 无法刷新Provisioning Profiles列表 [英] Xcode Organizer - cannot refresh Provisioning Profiles list

查看:708
本文介绍了Xcode Organizer - 无法刷新Provisioning Profiles列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode 4.3.3



以前一切都工作得很好,但几个月前,我再也无法通过管理器刷新配置文件了。 / p>

问题:




  • I open organizer

  • 点击顶部的配置文件

  • 然后点击右下方的刷新按钮


    1. 显示正在下载开发证书...并提示登录。

    2. 成功登录后,显示获取团队列表...,然后显示错误:


      您不能执行此操作。请与您的团队管理员联系,或者,如果您需要进一步的帮助,请联系Apple开发人员计划支持







更多信息:




  • 上午团队管理员

  • 我有有效的开发者证书,如Apple Developer Portal中所示,我的钥匙串,以及组织者(就像我说的,这都是以前的工作)。

  • 我在Organizer中显示了几个有效的配置文件。

  • 我在组织者中展示了2个团队:


    1. 一个有开发开发者证书(我的)

    2. 一个有分发证书(适用于应用商店)


  • 这不是密码问题(当我输入错误的密码时出现不同的错误)

  • 我删除了除了我的所有其他开发者证书和分发证书

  • 我可以成功添加ce如果我手动下载它们的证书

  • 如果我手动下载,我可以成功添加配置文件

  • 在Apple Developer Portal中,没有配置文件标记为无效(但有一些已过期)

  • 我强制退出Xcode甚至重新启动Mac



这在iOS6发布后的某个时间开始发生(绝对不是在同一时间)。我已经阅读过关于这个主题的类似问题,但大多数问题都是针对损坏的数据错误消息。对我来说情况并非如此。



更新1(11月13日)



我现在已经完成以下操作:




  • 我已从Keychain中删除了所有证书,包括公钥和私钥。

  • 我已经在Apple Dev Portal中撤销了我的证书。

  • 我重启了机器。

  • 我再次打开Xcode并点击刷新:


    1. 它要求我登录,并提示提交新证书的请求。

    2. 新证书已成功批准并发布,并下载到我的钥匙串中(我看到新的公钥和私钥,以及证书)。




但是我在配置的刷新时仍然遇到同样的错误配置文件:您不能执行此操作,我在组织者中没有配置文件。



更新2(11月13日)




  • 我现在已更新到XCode 4.5

  • 在第一次刷新时,它实际上有效。

  • 在所有后续刷新中,它失败并出现相同的错误消息您不能执行此操作。请与您的某个团队管理员联系,或者,如果您需要进一步的帮助,请联系Apple开发人员计划支持,但它现在在生成Mac团队配置文件


    1. 请注意我没有使用Mac开发。我没有启用开发者模式,也没有Mac开发人员计划。

    2. 我尝试使用和不启用Mac Developer Mode。

    3. 尽管有相同的模糊错误消息,但它实际上似乎正在更新iOS配置文件。




经过这么多时间,我仍然决定删除此错误消息。也许有人可以协助并告诉我XCode将保留其应用程序日志的位置?有没有类似Mac的Windows事件查看器?

解决方案

尝试Xcode 5.1。看起来Apple终于解决了这个问题。


I am using Xcode 4.3.3

Everything used to work fine before, but since couple of months ago, I can no longer refresh provisioning profiles through Organizer.

The problem:

  • I open organizer
  • Click Provisioning Profiles at the top
  • Then click "Refresh" button at the bottom right"

    1. It displays "Downloading development certificates..." and prompts to login.
    2. After successful login, it displays "Fetching team list..." then shows the error:

      "You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support"


Some more information:

  • I am Team Admin
  • I have valid developer certificate, as displayed in both the Apple Developer Portal, my Keychain, and in Organizer (like i said, this all used to work)
  • I have several valid provisioning profiles displayed in Organizer.
  • I have 2 teams displayed in organizer:

    1. One with developement developer certificate (mine)
    2. One with distribution certificate (for app store)

  • This is not a password issue (I get a different error when i type the wrong password)
  • I have removed all other developer certificates besides mine and the distribution certificate
  • I can successfully add certificates if i manually download them
  • I can successfully add provisioning profiles if i manually download them
  • In the Apple Developer Portal, there are no provisioning profiles marked as "Invalid" (there are some that are expired however)
  • I have force-quit Xcode and even restarted the Mac

This started happening sometime after iOS6 got released (definitely not at the same time). I've read similar questions on the subject, but most of them deal with "corrupted data" error message. This is not the case for me.

UPDATE 1 (Nov 13)

I have now done the following:

  • I have removed all certificates from Keychain, including public and private key.
  • I've revoked my certificate in Apple Dev Portal.
  • I've restarted the machine.
  • I opened Xcode again and hit refresh:

    1. it asked me to login, and prompted to submit a request for a new certificate.
    2. The new certificate was successfully approved and issued, and downloaded into my keychain (i see new public and private keys, as well as the cert).

However i am still getting the same error on the "refresh" of provisioning profiles: "You are not allowed to perform this operation" and i have no profiles in organizer.

UPDATE 2 (Nov 13)

  • I've now updated to XCode 4.5
  • On the first refresh, it actually worked.
  • On all subsequent refreshes, it fails with the same error message "You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support", however it now does it after "Generating Mac Team Provisioning Profile"

    1. Please note i am not using Mac Development. I don't have Developer Mode Enabled, and i don't have Mac Developer program.
    2. I have tried with and without Mac Developer Mode enabled.
    3. Despite the same vague error message, it actually seems to be updating the iOS provisioning profiles.

After so much time on this, i am still determined to remove this error message. Maybe someone can assist and tell me where XCode would keep it's application log? Is there anything like windows "Event Viewer" for a Mac?

解决方案

Try Xcode 5.1. It looks like Apple finally fixed this issue.

这篇关于Xcode Organizer - 无法刷新Provisioning Profiles列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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