Posted on by

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.

iOS8

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. 

Xcode 6

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 xcode-select.

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.

Title:
(Duplicate of rdar://17202371) Layer-backed views do not render in OS X 10.10 (Yosemite). [NSOpenGLView prepareOpenGL] also not called.

Summary:
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.

Expected Results:
1. Observe that the spinning globe appears.
2. AppKit calls [NSOpenGLView prepareOpenGL]

Actual Results:
1. On OS X 10.10 Beta, spinning globe does *not* appear.
2. [NSOpenGLView prepareOpenGL] does *not* get called.

Version:
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.


Posted by . Thanks for reading...

6 Responses to “Corona SDK and OSX 10.10 (Yosemite) status”

    • Rob Miracle

      I’m sure engineering is looking into it. On the plus side, a 10x improvement in the graphics pipeline is a good thing. However, one of the things that helps us be cross-platform is using OpenGL. It would be very difficult to try and support multiple graphics engines.

      Reply
      • Benjamin Intal

        Hopefully Apple makes it easy enough to switch between OpenGL and Metal so that Corona can easily get its benefits in iOS devices. Having the ability to add more sprites and effects without affecting performance is huge. I’ve heard that it was easy for Unity 3D to switch to Metal, fingers crossed that this can also be the case with Corona.

        Reply
  1. Joe

    Cross-platform is not that important if you can’t deliver a market-proof concept/app.

    Swift is my solution now.

    Reply
  2. Benjamin Intal

    Please also try and find a workaround to the Yosemite bug. Other apps (such as Better Touch Tool) that crash on Yosemite have been releasing fixes that make them work again. Since we are not sure that Apple will address this bug in a beta update or even in the release version, Corona Labs should be looking into a fix asap.

    Reply
  3. Andrew Davis

    I am running OSX 10.10 and it is now running. Apple responded to my bug report saying that Engineering has fixed the issue. I just ran a Corona project and all seems fine so far.

    Reply

Leave a Reply

  • (Will Not Be Published)