This guide will help you install/activate Corona Enterprise as well as understand the Enterprise project structure.
Corona Enterprise makes several assumptions about your local development environment. Whether you already have a native development environment, or are jumping into Corona Enterprise without native development experience, we recommend you follow the steps in our Enterprise setup guides. These will allow you to configure your native development environment in a way that's very friendly to Corona Enterprise.
Installation and activation is simple. You will need to complete just three basic steps:
Copy the CoronaEnterprise
folder to /Applications
.
Purchase a Corona Enterprise subscription to activate the product. Contact our sales team for more information.
Activate the product by typing the following, where email
and password
are associated with the Enterprise account subscription:
/Applications/CoronaEnterprise/Corona/mac/bin/CoronaBuilder.app/Contents/MacOS/CoronaBuilder authorize email password
This will activate the computer to use Corona Enterprise. Every account is allowed one computer.
If you wish to update to a new Enterprise daily build, simply overwrite the old CoronaEnterprise
directory with the new one.
If you wish to activate Corona Enterprise on a different computer for the same account, you must first deactivate the original computer before activating Enterprise on another one (or purchase additional subscriptions). Type the following to deactivate the computer, where where email
and password
are associated with the Enterprise account subscription:
/Applications/CoronaEnterprise/Corona/mac/bin/CoronaBuilder.app/Contents/MacOS/CoronaBuilder deauthorize email password
The default installation location is assumed to be /Applications/CoronaEnterprise
, but you can customize this location on a
ios
folder called CoronaEnterprise
that points to /Applications/CoronaEnterprise
by default. You can change this to the custom install location for Corona Enterprise.android
folder called CoronaEnterprise
that points to /Applications/CoronaEnterprise
by default. You can change this to the custom install location for Corona Enterprise.build.sh
script with two parameters. The first is the path to the Android SDK (by default this is the ANDROID_SDK
environment variable). The second is the path to CoronaEnterprise
(by default this is /Applications/CoronaEnterprise
).New projects can easily be created by using project templates as a starting point. In the CoronaEnterprise/ProjectTemplates
folder, the App
folder contains standard template projects for creating new apps. Inside there are three
Corona
— This is the classic Corona project containing files like main.lua
, images, etc.ios
— Contains all of the android
— Contains all of the Unlike projects built via Corona SDK, Corona Enterprise builds generally do not use the build.settings
file, so you must configure settings manually in your project. The only exception is iOS builds which can optionally honor the orientation
table as outlined here.
Because build.settings
is generally ignored, plugins specified within the plugins
table are not automatically loaded. You must obtain plugin(s) from the daily builds page by selecting the Corona Enterprise tab and downloading the latest plugin package, for example CoronaEnterprisePlugins.2016.2949.tgz
.