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

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?

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

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.

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

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.

Related

Show documentation window crashes XCode 12

Just showing the Documentation Window crashes XCode 12 (cmd-shit-0) - anytime I do it.
Does anybody have the same problem, an explanation or a work around ?
Update: There's now a new version (12.0.1) in the App Store that fixes this issue.
I'm experiencing the same when using the version from the App Store. People in this Apple Forums thread are reporting that it doesn't occur with the GM download from Apple's developer resources, despite the build identifiers being exactly the same.
Anecdotally, I can confirm that I was able to use documentation in the GM version before I deleted it in favor of the App Store version. So this may in fact be a viable workaround until the App Store version is fixed.
The Xcode on the app store is some sort of unknown version, (Since there it release even before the GM version available). So get rid of it and Download The Xcode From The developer.apple.com or click the proper version below. Then it. will work like a charm.
This needs you. to login to your account
Don't forget to remove the appstore version downloaded Xcode
Direct Download
Xcode 12
Xcode 12.2 Beta
I use xcode 12 beta 5 works well can open document window, when I upgrade to GM seed, it can not open document window any more. When I fallback to xcode 12 beta ,open document it crash every time. All these happened on mbp13 pro, but my another mbp 15 with the same macos version works very well.
I guess it have something with macOS system, not xcode version.
Now I upgrade xcode by AppStore ,crash all the same.

Account not able to sign in Xcode?

I am new for developing the IOS application. so I have used xcode version 7.3.1 so I am not able to build the IOS 10 version. so xcode 7.3.1 not supported. so I trying to update but it can't able to update because mac has lower version. so I decided to install xip format. then I installed it, I have tried to build the app in xcode 8.0. then I have deleted the apple id which was already added in xcode 7.3.1. so both version affected it not showing account in xcode. after that I trying to add the account in xcode both version. it getting below given error, please any one help to slove the problem..
Make sure you can login to apple developer: Apple Developer Login
If that is not working, it means it's an issue with either your login credentials, or (more unlikely) there is an issue with Apple's servers and you simply must try later.
Try creating a new apple id as a test to see if it's an issue with the apple id, or an issue with your Xcode or computer's setup.
In my case error occurred because of VPN connection.

Xcode 7.3.1 update stuck? is it downloading?

Trying to download Xcode 7.3.1 but download process is stuck for atleast 1 - 1/2 hour, is it stuck, is it going to complete? I have latest Mac OS installed
Tried solution provided on this link but non worked
XCode 7.3.1 Update Not Installing
It always happens to me (Well, not always but it happens, and also with another apps). What I do is to delete the Xcode app, and then install it again from the App Store or from the Developer's site.

Trouble downloading XCode 6.1 on Mac OS X Yosemite

after upgrading my Mac to Yosemite I've had trouble downloading XCode 6.1
Every time I tried I got an error saying:
This item is temporarily unavailable. Try again later.
I have tried again later, for a couple days, with no luck.
I have found this Apple forum post really helpful, but I did not want to download the third party tools.
I have solved the problem by searching for XCode:
sudo find / -name *XCode*
Which returned:
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/CachedSpecifications-xcodebuild
By renaming all of the com.apple.DeveloperTools folders/files above to aaacom.apple.DeveloperTools I have managed to get my App Store to download the new XCode.
What I wanted to ask was, has Yosemite changed the way that the Mac cache works?
I ask this because I noticed that some people had not managed to fix the issue by removing the usually recommended folder named com.apple.appstore. I can't say if this would/would not work since this is the first thing I tried so I'm asking if the Mac cache has changed, and if so in what way?
Edit 1:
I have only now noticed the really useful command that was posted by Elliott Slaughter in the same thread which is a slightly more general cache deletion than my command:
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/com.apple.appstore"
Where on my machine:
...$ echo $(getconf DARWIN_USER_CACHE_DIR)
/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/
Edit 2:
So my assumption is that deleting com.apple.appstore wouldn't work because XCode seems to be referenced in the com.apple.DeveloperTools folders. Am I right?
I was dealing with this same problem, but I have not yet updated to Yosemite (Still on Mavericks).
To be specific my problem was I started to download Xcode 6.1.1, and then paused it, or got disconnected for some reason (I don't remember), and then could not download the app for days. From that point forward I received the error message.
This item is temporarily unavailable. Try again later.
I followed the comment by Danilo Muñoz on the second page of the Apple form Post Nonsensickle posted.
Go to the "App Store" > "Store" > "Check for Unfinished Downloads ..."
This fixed the bug.
As for your question, It doesn't seem that Yosemite changed the way that the Mac cache works, because I seem to have had the same problem on Mavericks.
It might be network error You can download directly it with this links
Or you can download .dmg files directly without such errors
Xcode 6
Xcode 6.1 link
6.0.1 link
Xcode 5
5.1.1 link
5.0.2 link
Xcode 4
4.6.3 link
4.5.2 link
4.4.1 link
4.3.2 link

Xcode failed to install

I am trying to install Xcode 4.2 on my Mac system having OS version 10.6.8.
Actually, I removed the Xcode from the system and tried to reinstall it.
I quit iTunes before installing it, and I have enough free space on disc (111 GB). Below is a screenshot of the error. What should I do?
Set your system time to 1st January 2012 or earlier (but not too early), as the certificate that signed the package has expired.
I had the same error message. In my case, it was solved by updating the OS software. There was an update waiting for "Apple installations software". After the update, Xcode installed perfectly well.
I found out I could download the installer directly from Apple instead of through the app store, and that the error described by the accepted answer could also be circumvented by installing the Mobile Development Framework manually.
See forum post Problems installing Xcode on Lion for more details.
I had the same trouble on Mac OS 10.8.5 when installing Xcode 4.4.1, Xcode 5.1.1, and Security_Update_2014-005. It turned out that the reason was the same in all these cases: an incompatibility with Vodafone/Huawei UMTS drivers. A workaround in this case is to temporarily move them away, e.g.
mv /System/Library/Extensions/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} ~
Then do the installation/update, and then restore those drivers, e.g.,
mv ~/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} /System/Library/Extensions/

Resources