Everyone is excited after the recent WWDC where OSX 10.10 (Yosemite), Xcode 6.0 and iOS8 were announced and Apple gave developers early access to beta releases of the three products. Naturally we’ve had some customers jump on the new systems. We wanted to take a minute and discuss where we are with these various tools.
Use Apple Betas/Previews with Caution
Early Apple betas/previews tend to be bleeding edge, and there’s a reason they call it “bleeding edge”. When you are on the bleeding edge, you have to ask how much you want to bleed?
If you depend on your iPhone or iPad to work and to be able to deploy apps or if you expect your Mac to be able to build and deploy apps, you probably should not upgrade to these preview systems. As a rule, Apple will not take submissions from beta software and we don’t want you to hurt your ability to be productive. If you can spare a Mac and a device and want to help blaze the iOS 8/Yosemite trail with us, by all means, the more eyes on it the better, but if it’s your main machines or devices, you probably should wait.
Early reports from people seem to indicate that Corona SDK-built apps are running on the current beta. Of course, we have not provided access to the iOS 8 SDK, so you can’t try building for iOS 8 yet.
You should be able to run the Xcode 6 preview along side your existing Xcode 5.1.1 installs, but Xcode 6 is a beta, so don’t use it to deploy to the app store. So if you have both versions installed and need to deploy to the app store, be sure 5.1.1 is selected using
OS X 10.10 (Yosemite)
OS X 10.10 (Yosemite) is very much an early beta, so if you depend on your Mac to build Corona SDK apps, don’t upgrade to Yosemite just yet.
As it pertains to Corona, there are OpenGL/layer bugs that prevent Corona SDK from rendering content correctly. These same bugs prevent Apple’s own sample (LayerBackedOpenGLView) from working correctly as well.
If you’d like to help us get Apple to prioritize this issue, you can file the following bug report to Apple and submit it at: https://bugreport.apple.com.
We’ve already filed this bug (rdar://17202371), but the more people who complain, the more likely Apple will fix this sooner than later.
(Duplicate of rdar://17202371) Layer-backed views do not render in OS X 10.10 (Yosemite). [NSOpenGLView prepareOpenGL] also not called.
The Apple sample LayerBackedOpenGLView does not render on 10.10.
Steps to Reproduce:
0. Download Apple's LayerBackedOpenGLView sample: https://developer.apple.com/library/mac/samplecode/LayerBackedOpenGLView/Introduction/Intro.html
1. Choose an OS:
1a. For OS X 10.8.4/XCode 5.0, go directly to Step 2
1b. For OS X 10.10-beta/Xcode6-beta, you will need to add the OpenGL headers to Texture.m to avoid compile errors.
2. Build the sample.
3. Run the binary.
1. Observe that the spinning globe appears.
2. AppKit calls [NSOpenGLView prepareOpenGL]
1. On OS X 10.10 Beta, spinning globe does *not* appear.
2. [NSOpenGLView prepareOpenGL] does *not* get called.
OS X 10.10 (14A238x)
What about Swift and other new features?
Swift is likely going to be an Apple-only language and will not support cross-platform development, so we do not believe there is any conflict with Corona. Having said that, it’s great that Apple has made iOS development more accessible and their development process easier. We are obviously big believers in this and this will benefit the entire ecosystem. Swift may also benefit Corona developers by making it easier for them to developer their own iOS plugins with Corona Enterprise.
As for the other iOS8 goodies, it’s too early for us to comment on what features we can make available to Corona developers. We are equally excited about what we’ve seen but, like you, we just learned about many of them so we need to do more testing.