Can't update command line tools because Xcode

2020-06-12 04:19发布

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?

标签: xcode
4条回答
【Aperson】
2楼-- · 2020-06-12 04:55

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楼-- · 2020-06-12 04:56

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

查看更多
家丑人穷心不美
4楼-- · 2020-06-12 04:58

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.

查看更多
唯我独甜
5楼-- · 2020-06-12 05:00

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

查看更多
登录 后发表回答