A bit confused about "Target iOS Version" during build

I am trying to do an iOS build of my app.

However there’s an error regarding an iOS SDK mismatch:

“The version of iOS SDK (11.1) that’s installed on this computer does not match the target iOS version (10.3). You may encounter issues building or incompatibilities at runtime.”

I’m using Corona build 2017.3135. Xcode version 9.1.

So, where is that erroneous “10.3” coming from, and how do I tell Corona to target iOS SDK 11.1?

EDIT: Er, ok: I just realized that support for iOS SDK 11.1 appears to have been enabled in Corona 2017.3167.

And support for targeting SDK 11 was introduced in Corona Build 2017.3132.

So I just downloaded the latest Daily Build 2017.3171 and now SDK 11.1 shows up!

But… I still am not sure why the latest public build (3135) displays iOS 10.3 as the build target, when it seems to me that iOS 11 support was added prior to the public build.

Hi,

iOS SDK 11.1 and Xcode 9.1 are supported since 2017.3167

Thanks for the reply. Maybe you wrote it before my edit? Either way, thanks!

So, just to double-check that I understand: the Public Builds are kind of like the most recent “stable” build, and the Daily Builds are not considered “stable”? And so then, at the moment the latest stable build of Corona SDK only supports iOS SDK 10.3?

@bobbycircle, you are correct. At the time that the public build, the current version of iOS and Xcode were 10.3/8.3.  Apple requires you to use the Xcode version that matches the iOS SDK version you’re building against.

As Bektur said, daily build 3167 is the version where you can use Xcode 9 to match our adding support for iOS 11.  

Public builds go through more rigorous testing than daily builds do, but the reality is that we have to evolve with changes enforced by Apple, Google, etc. Sometimes that means having to use daily builds if you need to submit today.

Rob

Thanks! It makes more sense now. Sorry, I think I was making a dumb mistake – that the numbers for Daily Builds are somehow related to the numbers for Public Builds. They just bear a passing resemblance, right?

i.e, I wrongly assumed that Public Build 2017. 3135 contains all changes in Daily Builds up to 2017. 3134.

But now, when I open the release notes for the public build, I can see that it says:

“This document describes the changes to Corona Labs’ suite of products, including the Corona Simulator, CoronaCards, Corona Native Builds, and device builds for iOS, tvOS, macOS, Android, and Windows desktop builds since 2017.3068.”

Plus, the public build release notes also say: “For iOS builds (macOS), requires Xcode 8.3 or later. Note: Xcode version must match the iOS build.”

Hi,

iOS SDK 11.1 and Xcode 9.1 are supported since 2017.3167

Thanks for the reply. Maybe you wrote it before my edit? Either way, thanks!

So, just to double-check that I understand: the Public Builds are kind of like the most recent “stable” build, and the Daily Builds are not considered “stable”? And so then, at the moment the latest stable build of Corona SDK only supports iOS SDK 10.3?

@bobbycircle, you are correct. At the time that the public build, the current version of iOS and Xcode were 10.3/8.3.  Apple requires you to use the Xcode version that matches the iOS SDK version you’re building against.

As Bektur said, daily build 3167 is the version where you can use Xcode 9 to match our adding support for iOS 11.  

Public builds go through more rigorous testing than daily builds do, but the reality is that we have to evolve with changes enforced by Apple, Google, etc. Sometimes that means having to use daily builds if you need to submit today.

Rob

Thanks! It makes more sense now. Sorry, I think I was making a dumb mistake – that the numbers for Daily Builds are somehow related to the numbers for Public Builds. They just bear a passing resemblance, right?

i.e, I wrongly assumed that Public Build 2017. 3135 contains all changes in Daily Builds up to 2017. 3134.

But now, when I open the release notes for the public build, I can see that it says:

“This document describes the changes to Corona Labs’ suite of products, including the Corona Simulator, CoronaCards, Corona Native Builds, and device builds for iOS, tvOS, macOS, Android, and Windows desktop builds since 2017.3068.”

Plus, the public build release notes also say: “For iOS builds (macOS), requires Xcode 8.3 or later. Note: Xcode version must match the iOS build.”