Bo-LuaWaxProjectTemplate is a xcode project template and tools for iOS development with Lua Wax
You need to have waxsim and Lua installed before using this template
unzip the downloaded zip file to any where you like
First you need to compile two version of Lua: one for the usage in mac os x, another one for working on iphone
cd <Bo-LuaWaxProjectTemplate root>
./buildlua.shIn terminal, change your directory to this project root
cd <Bo-LuaWaxProjectTemplate root>
./createprj.sh <path of your project>- you can open the project in xcode to build and run it as a normal xcode iOS app project
or
- you can change your directory to the newly create project, and run ./build.sh
cd <path of the newly created project>
./build.shthe iOS simulator will automatically started
you need to put your lua code under the scripts directory
by default, wax will copy all your lua source code to the application. To use the byte code in the application, you need to open the project in xcode and modify the user setting WAX_COMPILE_SCRIPTS from false to true
- LuaJIT support