iOS 8 and Corona

Hi,

I have written an app on Corona that runs very well on Corona’s simulator. However, I would like to be able to build it for iOS and test it on a device. I already went through all the certificate and profiles and all its left to do is to build the app.

I have XCode6-Beta4 installed. When I try to build the app, I get this error:

WARNING: Your SDK may be out of date b/c the following SDK directory could not be found:    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
2014-09-10 22:23:04.694 Corona Simulator[8735:507] Runtime error
    -----------------------------------/.build/libtemplate/Defaults.lua:97: ERROR: Could not determine installed version of iOS SDK.

I went to check and on the path mentioned in the error I have a folder named iPhoneSimulator8.0.sdk

I tried to copy this folder and rename it to iPhoneSimulator7.0.sdk, but it didn’t work.

Any ideas on what I should do?

Beta 4 is a few weeks old. Probably best to download and install the Xcode 6 GM seed from http://developer.apple.com

Oh wait - I reread your message. Corona generates the .app file - not sure what you’d need Xcode for other than to use Window->Devices to install the .app file on to an iPhone or iPad.

In Corona Simulator: File -> Build -> iOS… and point to your dev/prod certificate.

That’ll build your .app file that you can install on the i-device.

Xcode is used locally as well to manage profiles and such.  We also run some xcode command line tools like “png crush” and such locally (I think).  You should get Xcode 5.1.1 if you plan to deploy to an iOS 7 device.  If you want to play with iOS 8, you will need Xcode 6 to do so.   That error makes it sound like you’re Xcodes got mixed up.

Since iOS 8 is at Gold Master as is XCode 6, you might want to consider removing your installed Xcode and re-install the GM for Xcode 6 cleanly

Do apps built with the latest daily build run on both iOS 8 and iOS 7? (What does XCode version has to do with it?)

The latest public build, 2393a builds with the iOS 7.1 SDK.  iOS 7.1 apps should run just fine on iOS 8 devices.  They will also run on iOS 6 devices as well.

The latest daily build 2434 has options to build with either the iOS 7.1 SDK or the iOS 8 GM SDK.  The iOS 8 GM isn’t the final iOS SDK but it likely will be.  We are starting our testing with this to see if there are any issues we have to fix.  You should be able to submit apps to Apple using the iOS 8 GM seed, though you will need to install XCode 6 to go with it.

So iOS 7 built apps should run on iOS 8, you just won’t get any iOS 8 features. The native.* API calls will look like iOS 7.  iOS 8 built apps should run on iOS 7 and 6 and get all of the iOS 8 built apps.

Since Corona SDK needs Xcode both on our build servers and on your computer as part of the build process, if you want to use iOS 8, you will need XCode 6.

Thank you very much for the detailed information.

I’m able to build iOS8 in Corona newest daily despite not having xCode 6. This build works fine as far as I can tell. I should be OK to submit this to App store?

So I’m trying to upload now with Application Loader 2.9.1 but repeatedly get “The network connection was lost”. Same error when I tested submitting with iOS7.

Beta 4 is a few weeks old. Probably best to download and install the Xcode 6 GM seed from http://developer.apple.com

Oh wait - I reread your message. Corona generates the .app file - not sure what you’d need Xcode for other than to use Window->Devices to install the .app file on to an iPhone or iPad.

In Corona Simulator: File -> Build -> iOS… and point to your dev/prod certificate.

That’ll build your .app file that you can install on the i-device.

Xcode is used locally as well to manage profiles and such.  We also run some xcode command line tools like “png crush” and such locally (I think).  You should get Xcode 5.1.1 if you plan to deploy to an iOS 7 device.  If you want to play with iOS 8, you will need Xcode 6 to do so.   That error makes it sound like you’re Xcodes got mixed up.

Since iOS 8 is at Gold Master as is XCode 6, you might want to consider removing your installed Xcode and re-install the GM for Xcode 6 cleanly

Do apps built with the latest daily build run on both iOS 8 and iOS 7? (What does XCode version has to do with it?)

The latest public build, 2393a builds with the iOS 7.1 SDK.  iOS 7.1 apps should run just fine on iOS 8 devices.  They will also run on iOS 6 devices as well.

The latest daily build 2434 has options to build with either the iOS 7.1 SDK or the iOS 8 GM SDK.  The iOS 8 GM isn’t the final iOS SDK but it likely will be.  We are starting our testing with this to see if there are any issues we have to fix.  You should be able to submit apps to Apple using the iOS 8 GM seed, though you will need to install XCode 6 to go with it.

So iOS 7 built apps should run on iOS 8, you just won’t get any iOS 8 features. The native.* API calls will look like iOS 7.  iOS 8 built apps should run on iOS 7 and 6 and get all of the iOS 8 built apps.

Since Corona SDK needs Xcode both on our build servers and on your computer as part of the build process, if you want to use iOS 8, you will need XCode 6.

Thank you very much for the detailed information.

I’m able to build iOS8 in Corona newest daily despite not having xCode 6. This build works fine as far as I can tell. I should be OK to submit this to App store?

So I’m trying to upload now with Application Loader 2.9.1 but repeatedly get “The network connection was lost”. Same error when I tested submitting with iOS7.