Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install Xcode 9 without updating macOS?

Does anyone have any idea to install Xcode 8 OR Xcode 9 without updating macOS?

I want to update my Xcode 7.1 to Xcode 8 or Xcode 9 (or 9.1) Beta.

But it is not allowing me to update directly on OS X Yosemite 10.10.

And I don't want to update my OS to El Capitan now, so how can I install Xcode 8 on OS X Yosemite 10.10.

like image 491
Samkit Shah Avatar asked Aug 30 '16 10:08

Samkit Shah


People also ask

How do I download Xcode 9 on my Mac?

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.

Do you need latest macOS for Xcode?

Xcode can't be installed on because OS X version 10.12 or later is required. OS X Version 10.12. 1 can't be installed because OS X Version 10.12 is required. OS X Update is not found in the App Store.

Can I install Xcode on macOS Catalina?

The latest version of Xcode you can run on Catalina (10.15. 4) is Xcode 12.4 and Command Line Tools 12.4. Show activity on this post. Older Xcode versions are also listed on the Apple Developer site developer.apple.com/download/all However, there the downloads do not mention OS version they support.


2 Answers

Xcode 8 will work on OS X 10.11 (El Capitan) but the apps you build with won't, because the only SDK available is macOS 10.12 SDK, i.e. macOS Sierra's.

From release notes:

Compatibility

Xcode 8 requires a Mac running macOS Sierra 10.12 or OS X El Capitan 10.11.5 or later.

Xcode 8 includes SDKs for iOS 10.0, watchOS 3.0, macOS Sierra 10.12, and tvOS 10.0.

like image 52
Naup Avatar answered Oct 06 '22 09:10

Naup


To install Xcode 9 without updating macOS you can change the minimum required version in the Xcode bundle's plist. To do that simply control-click Xcode app, click Open Package Contents, then go inside Contents folder, there you'll see info.plist. Open it with Xcode you have already installed, and there you can edit value of Minimum system version field to whatever version you have currently installed.

Minimum system version

Also there would be some other "*.app" like "Instruments.app" and etc. They also requires the same operations.

If after all you get the same error, try to Restart your macOS.

I have used that way to install Xcode 9.2 on macOS 10.12.5 and it works.

like image 20
Argus Avatar answered Oct 06 '22 07:10

Argus