Xcode 7.3.1 cannot be opened in MacOS Mojave - xcode7.3

After updating from macOS High Sierra to Mojave and I successfully installed Xcode 7.3.1 but it cannot be opened. Does Mojave support Xcode 7?

I have experienced the same issue after upgrading to macOS Mojave. The only solution which I had to do is to download Xcode 8 and migrate to Swift 3.
Incase there're any alternatives, please share!

Related

Is it possible to install Xcode 11 on High Sierra (10.13.6)?

I have a Mac early 2011 running MacOS high sierra 10.13.6.
My Mac can't upgrade to higher MacOS versions.
I need to install XCode 11 to take advantage of SwiftUI.
This answer worked for XCode 10.2 but didn't work for XCode 11.
So can I install XCode11 on MacOS high sierra 10.13.6?
From Xcode 11 Release Notes:
Xcode 11 requires a Mac running macOS 10.14.3 or later.
So you cannot install Xcode 11 on macOS 10.13.6
Upgrade old macbook pro using this patch http://dosdude1.com/mojave/.
You can easily use Xcode 11.

Attempt to update Xcode ends in endless wait

I am on MacBook Pro using High Sierra (10.13.4)
My installed version of Xcode is 8.2 (8C38) and I am trying to update to 9.3.1 but I end up in endless waiting.
it turns out that
(a) Newest XCode (9.3.1) required High Sierra MacOS
(b) And even you upgrade to HighSierra, you still have the same issue
So, I did following to resolve this
I updated my OS from El Capitan to High Sierra as I found out that in order to get latest XCode v. 9.3.1, you need High Sierra - this went smothless
Once updated to High Sierra, I went to app launcher and uninstalled XCode,
Next, I went to this link https://developer.apple.com/download/more/ and downloaded XCode 9.3.1 xip file
Once downloaded, unzip it using Archiver app
Once unzipped, just drag the XCode app to Applications folder
Start it to complete installation
Maybe #Apple should talk to their QA
Had the same problem. Deleted Xcode via Application menu. Reinstalled from App Store. Worked for me.

Not able to open Xcode 8.3.2 on macOS 10.14 beta

I recently upgraded to new beta version of macOS 10.14 but after installing it when I tried to open my older version of Xcode 8.3.2, every time it gets crashed. Below is its details.
Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData
Xcode 8.X.X is doesn't support on macos 10.12 later version.
Cause of issue: "DYLD, [0x4] Symbol missing"
and also doesn't meet the swift version. so you need to upgrade your Xcode version or downgrade your os version below 10.12
As discussed in a few places like here and here, Xcode 8 does not run on Mojave. The best approach at this point is to either migrate your application to run with the latest Xcode, or run a VM with High Sierra or earlier that still supports your required version of Xcode.
Xcode 8's some versions is not compatible with macOS 10.14 just because of swift version.
So, if you want XCode 8, did you try to upgrade first to 8.3 ?

Download Xcode 8 from App Store but after install, it's Xcode 7.3.1 install

Download Xcode 8 from App Store but after install, Xcode 7.3.1 install?
Try upgrading your OS X. Worked for me.

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.
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.
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.
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.
From the Xcode 8 Beta 6 Release Notes:
Xcode 8 beta 6 requires a Mac running macOS Sierra beta 3 or later, or OS X El Capitan 10.11.5 or later.
macOS 10.10 is an unsupported configuration and is not supported by Xcode 8. Your only solution is to update to 10.11.
I have two Apps in the Mac App Store. My main development machine is still running OS X Yosemite. One App started showing some small GUI problems when used on MacOS Sierra. So I installed XCode 8 on my MacBook Pro, running MacOS Sierra. Next, I migrated the code to Swift 2.3 (3.0 was too much of a hassle for now), and archived and exported the App (without changing any build-settings). The GUI problems (mostly related to resizing images and windows) are solved now in the App, when run with MacOS Sierra. And the App still works with OS X Yosemite and OS X El Capitan.
Perhaps it depends on the settings you use in XCode 8, but Apps compiled/built with XCode 8 should definitely still work with OS X Yosemite and El Capitan.. Unless you use specific features/functions of the MacOS Sierra SDK, of course.
from the terminal type the command:
xcode-select --install
in case if you having previous XCode to remove it type the command:
sudo rm -Rf /Library/Developer/CommandLineTools
before installing current one