Can't update command line tools because Xcode tells me I don't have access to them

馋奶兔 提交于 2019-12-12 07:47:34

问题


I'm using Xcode 4.3.2 and it tried to install an update to the command line tools. I clicked the update button and Xcode told me that [my apple id] does not have access to Command Line Tools. (Contact Apple Developer Support to resolve account access issues.)

The problem happened with 4.3.1 too, I just did the update to 4.3.2 because I thought that it will resolve the issue.

My account is a paid Mac + iOS Developer account. I am pretty sure I should have access to these tools. But Xcode tells me I don't. I logged in to the developer portal and checked for new Terms of Service too. Everything looks alright.

How can I install the update? Does anybody have a solution for this?


回答1:


Yes its all over the Twitter... Just go to Apple Downloads and manually install it. They are investigating the issue as far as I know




回答2:


Dominik Porada details the solution at Xcode 4.5 and iOS 5.1 Simulator, ie. download the old XCode 4.4.1 from Apple and pull out the simulation. Personally, I just copied the simulator from one of my other Macs that I hadn't upgraded XCode on yet.




回答3:


Not sure if it's still relevant but xcode-select --install might do it.




回答4:


I had the same problem last night after the update to Mountain Lion and Xcode 4.4.

This morning I tried to build something in xcode and it told me that developer mode wasn't enabled on the mac. Once I enabled it, I tried to download the command tools again and that happened to work fine now.



来源:https://stackoverflow.com/questions/9819764/cant-update-command-line-tools-because-xcode-tells-me-i-dont-have-access-to-th

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!