22 April 2015
Xcode Requirements: iOS 8.3 + iOS 8.4-beta
Apple just released iOS 8.3 SDK, so starting in daily build 2015.2616, Corona Simulator will target iOS 8.3 by default.
As always, the target iOS version does not affect backward compatibility. The apps you build with Corona will still be backwards compatible to iOS 6.0.
Changes to Xcode Requirements
Starting with 2015.2616, Corona Simulator will be more stringent about the version of Xcode you have installed (older versions work like before, in a less stringent manner). In particular, when you select a particular target iOS version, you must have the corresponding version of Xcode installed. For example, if you want to target iOS 8.3, you must install Xcode 6.3 which includes iOS 8.3 SDK.
We made these changes due to subtle issues that were introduced in Xcode 6.3. To ensure that device builds for iOS 8.3 work properly with plugins, we had to make Corona Simulator more picky about which version of Xcode it uses; otherwise, device builds involving plugins will fail.
Apple engineers have suggested that this more stringent pairing of iOS SDK version to Xcode version is technically more correct. While Xcode has been more forgiving in the past, we have chosen the more conservative route to minimize chances for future errors that you may encounter.
Unsupported Xcode versions
The changes we describe simply mean that you’ll have to download the appropriate version of Xcode whenever Corona Simulator changes its default iOS version target.
However, if you have a version of Xcode installed that does not match what Corona Simulator expects, you can still use it. We call this the “I’m feeling lucky” option. That means, maybe it’ll work; maybe it won’t. Either way, you’re free to try, but you’re on your own. We won’t support it.
In this situation, you will see the following warning dialog. You can still proceed, but you’ll also see a big
"UNSUPPORTED" in the iOS SDK pulldown.
Multiple versions of Xcode
Sometimes there are situations where you will want multiple versions of Xcode installed. One reason is that we include access to iOS beta builds, e.g. iOS 8.4-beta is a version you can target in the latest daily build, as shown in the following diagram:
In order to access the iOS 8.4-beta target, you must (of course) install that version. You will also need to use xcode-select to ensure that Corona Simulator finds this version of Xcode. You can type
xcode-select -p to find out which version of Xcode is currently selected on your system.