Multiple xcode versions in Lion OSX - xcode

I want to install xcode 4.1 in my iMac OSX Lion. But in my iMac, I have Xcode 4.2.1. How to install iOS 4.1 but not override Xcode 4.2.1?

First download and install Xcode 4.1, then go the the Mac App Store and download version 4.3.2. When installing 4.3.2 you will be prompted to delete the older version, select no. You will be able to do this because older versions of Xcode (4.1) install to /Developer whereas this newest release (4.3.2) is a .app bundle that installs to /Applications.

Related

Xcode can’t be installed on “Macintosh HD” because macOS version 10.13.6 or later is required

I am struggling to build app with unity on xcode.
In the beginning, I could not build the app on my iPhone from xcode because I got this error
This iPhone 8 (Model A1863, A1905, A1906, A1907) is running iOS
12.1.2 (16C101), which may not be supported by this version of Xcode.
I also tried to install the older version xcode but it did not work since it requires new version as mentioned above.
Then, I attempted to reinstall xcode now and got error
Xcode can’t be installed on “Macintosh HD” because macOS version
10.13.6 or later is required.
I am using version 10.12.6 macOS Sierra and I think that there should be available installation version 10.13.6 on my App Store but 10.13 doesn't show up in my app store updates section.
Therefore, I went to Apple official page to upgrade to 10.13 but it said that this update requires macOS version 10.13.
I cannot install even version version 10.13.
How can I update my OS and install xcode to solve this issue ?
find the Xcode version corresponding to your current OS version here https://developer.apple.com/support/xcode/
download it using your Apple Developer account here https://developer.apple.com/download/
To Install the latest macOs version,
click on apple icon click on About this Mac, then click on software update
It will show you latest macOs version available, then you can install latest version of XCode
Install Latest Mac Os Youtube video
You need to download macOS version 10.13.6. You can download it from here You may need to have a developers account but you can get a free one by going to Apple developers. You may need to google that. Once you get 10.13.6 loaded you can then download Xcode 10.1
I had same problem
You must upgrade to latest macOS version.

Xcode can’t be installed on “Macintosh HD”

Xcode can’t be installed on “Macintosh HD” because macOS version 10.12.6 or later is required.
my macitosh version is 10.12 but when i searched for update it asks no updates are available
An older Xcode version needs to be installed that is compatible with your macOS version. Older versions can be found here https://developer.apple.com/download/more/?q=xcode
You could install the latest version of Xcode which also has command line tools that support your version of macOS. For instance, if you have macOS 10.12 and there is a download titled Command Line Tools (macOS 10.12) for Xcode 9.2 then you should be safe to install Xcode version 9.2

How do you get the older Mac OSX SDKs for Xcode?

How can I can the 10.6 version of MacOSX SDK with the latest version of the Xcode (version 4.6)?
You would have to install an older Xcode, take MacOSX10.6.sdk out of the SDK folder at the location it's installed (default: /Developer/Platforms/MacOSX.platform/Developer/SDKs) and copy it to the SDK folder in your latest Xcode.app (default: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs).
As for fixing your error, try importing/including <sys/ucontext.h> instead of Apple's ucontext.h.

Installing xcode 4.1 for Lion after OSX Lion update?

I just finished downloading the osx lion update on my snow leopard install.
Xcode 4.1 won't run now because it wants the Lion version to be running instead. However wen I go to the app store to install Xcode 4.1 lion it tells me it's already installed.
How can I uninstall Xcode 4.1 snow leopard so I can install lion?
The app store doesn't detect that you have Xcode installed, it detects that you have the Xcode installer installed. That must still be around somewhere.
Uninstall XCode 4: How to fully remove Xcode 4
After the uninstall, you go to the App Store and re-download/re-install XCode 4.1.
You should uninstall Xcode first,
in a terminal window,
sudo /Developer/Library/uninstall-devtools --mode=all

Which version of xcode install on lion

Which version of xcode install on lion ? i use 4.0.2 but doesn't install and says should install snow leopard 10.6.6
You need XCode 4.1 for Lion.
Message when running XCode 4.2:
Xcode 4.2 requires Mac OS X 10.6 Snow Leopard
Install the Xcode Tools version that supports Mac OS X 10.7 Lion.
If you have 4.2 on Lion run this:
sudo /Developer/Library/uninstall-devtools –mode=all
How about the latest? Xcode 4.1
If you aren't using the beta version (registered developers only) you have to get the version of XCode from the Mac App Store which is 4.1. That is the only version that will work with Lion.
I think you need to install directly from the App Store, not from the install disc.

Resources