Understanding iOS SDK versions

Hello all,

I have just finished my first app with Corona and I managed to publish it on Google’s Play store  :).

I did all the development on a Windows PC and everything was fine.

Now I am switching to Apple but I don’t have much experience there. I instaslled Corona (2018.3326) and tried to build for iOS but I got:

Unsupported iOS SDK mismatch The version of iOS SDK (12.0) that's installed on this computer does not match the target iOS version (11.4). You may encounter issues building or incompatibilities at runtime. You should consider updating your version of Xcode or using xcode-select to enable a compatible version. Do you want to proceed with a build?

After doing a bit of serching on Google  I installed the latest daily build (2019.3473) and I tried again. Now I get:

The version of iOS SDK (12.0) that's installed on this computer does not match the target iOS version (12.1). You may encounter issues building or incompatibilities at runtime. You should consider updating your version of Xcode or using xcode-select to enable a compatible version. Do you want to proceed with a build?

So my questions are:

1- Do I need to update Xcode to the latest version?

2- If I am building to iOS version 12.1 does that mean I am building for the latest iPhones only or would my code still work on older iPhones (e.g. 5, 6, etc)?

3- If I am building only for the latest, is there away to set the target code lower to be compatible with older phones? 

I am assuming that newer phones should be backwards compatible but the opposite isn’t true.

Many thanks.

It’s very likely that Apple automatically updates your Xocde for you. We recommend that you wait to update to the latest Xcode until we are read which can take several days. 

The latest version of Corona Daily builds works with the latest Xcode. Just update your Corona and you should be good to go.

Rob

Thanks Rob.

It’s very likely that Apple automatically updates your Xocde for you. We recommend that you wait to update to the latest Xcode until we are read which can take several days. 

The latest version of Corona Daily builds works with the latest Xcode. Just update your Corona and you should be good to go.

Rob

Thanks Rob.