Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to update to Xcode 8

Tags:

xcode

xcode8

I would like to update to Xcode 8, but when I start the App Store it just shows me an Open button, but my existing Version is 7.3.1

The requirements should be El Capitan 10.11.5 - I have 10.11.6 installed.

Why is there no Update button?

enter image description here

like image 763
derdida Avatar asked Sep 16 '16 16:09

derdida


People also ask

Does Xcode 11 support ios8?

Xcode 11 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11 requires a Mac running macOS Mojave 10.14. 4 or later.

How do I update my Apple Xcode?

The current release of Xcode is available as a free download from the Mac App Store. The Mac App Store will notify you when an update is available or you can have macOS update automatically as it becomes available. The latest beta version and previous versions of Xcode can be downloaded from the Downloads page.


2 Answers

Check if you have multiple installations of Xcode on your system. The App Store often gets confused and loads one you're not considering, such as the version on your back up drive. It's possible it has updated a different installation than the one it launches as well.

Executing the following command in a terminal window should list all installations of Xcode the App Store may find.

mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'"

When you have Xcode open (from hitting Open in the store), right click the Xcode icon on your dock, select Options, and Show in Finder. Does the installation it shows match up with the one you expected it to launch?

If you specifically open each Xcode installation the mdfind command found, are any of them Xcode 8?

You can control which installation of Xcode the App Store will update. Check each of the app folders, and look for a Contents/_MASReceipt folder. Ensure the installation you want to update has that (and a receipt file inside that), and delete the _MASReceipt folder for all of the other versions.

Now the App Store app should update the correct installation for you.

like image 194
Dave Wood Avatar answered Oct 23 '22 08:10

Dave Wood


All I had to do was restart my mac. Then, went to the App Store and saw "Update" instead of "Open".

like image 43
Vee Avatar answered Oct 23 '22 07:10

Vee