Xcode Requirements: iOS 8.3 + iOS 8.4-beta

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.

Corona Simulator iOS SDK mismatch warning

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:

Corona Simulator Device Build Dialog Xcode 6.3

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.

, ,
  • Joe
    Posted at 18:26h, 22 April

    Thanks for the information and clarification.

    I think it’s very thoughtful by having a “feeling lucky” option.

  • Basavaraj
    Posted at 22:23h, 22 April

    Awesome guys. It is very useful. Cheers!!!

  • Mohammad Asif
    Posted at 09:56h, 02 May

    Thanks Guys.its awesome and very useful …..

  • Vitor
    Posted at 04:40h, 18 August

    hi guys, i’ve this problem on my environment, i’ve xcode 8.4 and my corona simulator are throwing this error when i try build ios version. I’m already install xcode 6.3 (for having sdk 8.3) on my pc, however corona simulator not recognize it. How I can made is visible for corona SDK?

    Other question what i need to put at on “Code signing identity” i’ve my dev certificates installed on my mac booth dev and distributed cert, even them corona not recognize it .

    Thanks in advance