as from the title, I need to use the 10.8 SDK and the 5.1 (or 5.0) LLVM compiler with Xcode 6, in Mavericks. With the previous Xcode, it was possible to have both the SDKs, but now I see only the 10.9 one. How can I install the previous SDK and compiler in Xcode 6?
Follow the below steps so as to install Xcode on Windows 10, 8 or 8.1 and Windows 7 desktop or Laptop for iOS SDK. Step 1: Initially, download and install VMware or VirtualBox on your Windows computer from the above link. Step 2: Now, you need to download and install OSX Mavericks ISO as a virtual machine.
Xcode 4.2adds features to support iOS 5 as well as other enhancements to the application. Xcode 4.3adds features to support iOS 5.0 and OS X v10.7, as well as other enhancements to the toolset. Xcode 4.3.1 and 4.3.2adds support for the updated iOS SDK 5.1.
For building apps on Mac requires a SDK called Xcode. Xcode is an integrated development environment (IDE) that consists of set of software development tools which are designed by Apple specifically for developing software on Mac OS X and iOS.
Default Compiler The default compiler for iOS development in Xcode 4.1 is LLVM-GCC 4.2. Compared with the GCC compiler that was the default in Xcode 4.0, LLVM-GCC provides better code generation and optimization than GCC, while being exactly source compatible with GCC 4.2.
It's probably not supported by Apple, but I've seen good results by copying the 10.8 SDK from the Xcode 5.1.1 DMG.
sudo cp -a /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk \
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
I tried different ways, and it seems that both @trojanfoe and @byronc are right. On the one hand, by targeting 10.8 with the 10.9 SDK, all the compiling stuff ends fine, so it seems to me the most correct way, using "official" Apple stuff. On the other, when I tried to copy and paste the 10.8 SDK from an old Xcode 5 installation to the Xcode 6 correct folder, the SDK showed up in my project, so this way seems functional too, even if I think it is not the most clear way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With