XCode and SDK Version

Hi all,

Pretty new with the mac.

I am using:

El Capitan

XCode 8.1 beta 2

Corona SDK 2016.2966 

I get the following when trying to build for iOS

IMG_20161011_100456_s.jpg

I guess I’m supposed to select 10.0 somehow ( The first 2 options are grayed out ) ?

I have checked and my xcode-select is selecting the Xcode 8.1 folder

Selecting the third option does build successfully and the app runs fine on my ipad but not sure if that will do.

Edit:

Or actually, should I be targeting a lower version ? ( To target more devices )

Thanks in advance!

Apple ties Xcode builds to iOS SDKs. If you want to build for iOS 9.3 you have to use Xcode 7.3. If you want to use the iOS 10 SDK that we provide, you have to have Xcode 8. We have not enabled iOS 10.1 beta yet, so you cannot use Xcode 8.1 beta and Corona detects that and can’t figure out the right way to build your app.  You should consider keeping Xcode 8.0 installed as your default Xcode and switch to 8.1 beta if you specifically need to test something there, though if that test with Corona you will have to wait until we add the iOS 10.1 SDK.

Rob

Alright thanks Rob

Is there somewhere on this site where it clearly states that Corona does “not” work with xcode 8.1 etc?   Or somewhere that tells me the highest version of xcode supported so we know not to install the latest xcode?   I am getting this error now (v2949) and if that was stated somewhere it might save a bunch of questions from others.   I’m sure its probably listed somewhere but I dont see it.

Thanks

In the iOS Build guide:  https://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

We state:

The versions of Xcode and the iOS SDK must specifically match. For example, if building for iOS 9.0** , you must use **** Xcode 7.0**

Because Apple rolls out new versions of the iOS SDK frequently, it’s unrealistic to keep our docs more up to date than the above statement.  Our builds, public and daily are snapshots in time. As of 2949, Corona SDK supported two iOS SDK’s 9.3 and 10.0. As of 2978, we still support 9.3 and 10.0.

This means you either need Xcode 7.3 or Xcode 8.0 to build with the latest daily builds.

Though interestingly enough, I just ran Corona and it was complaining like I had installed 8.1 which I don’t remember installing. I’m wondering if Apple is auto-updating people?

Any way, I asked Engineering about getting us update to iOS 10.1. It’s late on a Sunday, I don’t expect an answer until tomorrow afternoon.

Did Apple auto-update you or did you choose to update to 8.1?

Rob

Thanks for the feedback on this.

No in my case I just installed the update myself.

Thanks

Apple ties Xcode builds to iOS SDKs. If you want to build for iOS 9.3 you have to use Xcode 7.3. If you want to use the iOS 10 SDK that we provide, you have to have Xcode 8. We have not enabled iOS 10.1 beta yet, so you cannot use Xcode 8.1 beta and Corona detects that and can’t figure out the right way to build your app.  You should consider keeping Xcode 8.0 installed as your default Xcode and switch to 8.1 beta if you specifically need to test something there, though if that test with Corona you will have to wait until we add the iOS 10.1 SDK.

Rob

Alright thanks Rob

Is there somewhere on this site where it clearly states that Corona does “not” work with xcode 8.1 etc?   Or somewhere that tells me the highest version of xcode supported so we know not to install the latest xcode?   I am getting this error now (v2949) and if that was stated somewhere it might save a bunch of questions from others.   I’m sure its probably listed somewhere but I dont see it.

Thanks

In the iOS Build guide:  https://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

We state:

The versions of Xcode and the iOS SDK must specifically match. For example, if building for iOS 9.0** , you must use **** Xcode 7.0**

Because Apple rolls out new versions of the iOS SDK frequently, it’s unrealistic to keep our docs more up to date than the above statement.  Our builds, public and daily are snapshots in time. As of 2949, Corona SDK supported two iOS SDK’s 9.3 and 10.0. As of 2978, we still support 9.3 and 10.0.

This means you either need Xcode 7.3 or Xcode 8.0 to build with the latest daily builds.

Though interestingly enough, I just ran Corona and it was complaining like I had installed 8.1 which I don’t remember installing. I’m wondering if Apple is auto-updating people?

Any way, I asked Engineering about getting us update to iOS 10.1. It’s late on a Sunday, I don’t expect an answer until tomorrow afternoon.

Did Apple auto-update you or did you choose to update to 8.1?

Rob

Thanks for the feedback on this.

No in my case I just installed the update myself.

Thanks