After listening to your feedback and much feverish engineering work we’ve changed the way you build CoronaSDK apps for OS X. Instead of having to link your own app in Xcode with CoronaCards you can now choose File > Build > OS X… in the Corona Simulator and all the tricky work is done for you (see below for sooper sekrit beta instructions to enable this). In the future the best of both worlds will be available, easy app creation with the Simulator or complete control using Xcode though this release just allows builds from the Corona Simulator.
So, building an app for OS X in the Simulator like so:
Results in:
You can tweak things like window size, behavior and title in the app’s build.settings and everything that works in the Corona Simulator on OS X works in OS X apps.
While we’re not quite there yet, the intention is that you will be able to submit your OS X apps to the OS X App Store but the first order of business is to get your CoronaSDK apps working well in the new environment and everything should be ready for that.
To enable OS X builds in any Daily Build from 2015.2675 onward, run this command in a Terminal window:
defaults write com.coronalabs.Corona\_Simulator enableOSXBuild -int 1
Documentation is available here: https://docs.coronalabs.com/daily/guide/osx/
Report your successes or failures here in this forum and we’ll try to fix things just as quick we can. Now that the capability to build OS X apps is in Daily Builds we should be able to turn around fixes pretty quickly.
The most annoying bug to look out for in this beta is that it doesn’t properly handle apps which lack width ,
height or scale set to sensible values in config.lua. So, if your app doesn’t seem to want to run properly, check that these values are set correctly in config.lua (some complex setups can fail to “detect” the new environment correctly resulting in nothing being set).