How do you get the older Mac OSX SDKs for Xcode? - 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.

Related

I can't upgrade Xcode. What can I do?

I have Xcode version 8.3
macOS: 10.12.6 (I can´t upgrade)
rect-native: 0.59.5
watchman: 4.9.0
I can't upgrade because my Mac is too old and the project that comes with the react native is for the new version of Xcode.
What can I do?
All this is because I can´t program in react-native that is not compatible white Xcode 8 the new version and I can´t use and oldest version.
I have looked for previous versions I downloaded from Github. RN Version 0.55.4 there says that is for Xcode 8.3 but that doesn't work.
how do you program?
You can download any previous or current version (from 7.0 up to 10.2) of XCode using links, listed here:
https://stackoverflow.com/a/46652775/10556960
You will need to sign in with your Apple Developer account at developer.apple.com, tho.
According to Xcode Releases, the latest Xcode that runs on macOS 10.12.6 is Xcode 9.2.

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 to install a library with homebrew to use older Xcode SDK on OSX

I use Xcode 7.2 on OS X 10.11.
However, I must build using older Xcode SDK (10.8) to support older platform.
I have a problem when I link to libpng installed using homebrew.
A bunch of warnings like following pop up:
Object file
(/usr/local/Cellar/libpng/1.6.21/lib/libpng.16.a(pngwutil.o)) was
built for newer OSX version (10.11) than being linked (10.8)
The problem would be obviously solved if I could force homebrew to compile recipe using older Xcode SDK (10.8) but haven't find a way to accomplish this.
Any suggestion is welcome.

Multiple xcode versions in Lion OSX

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.

Resources