Is it possible to compile and run Lua based cocos2d-x application from a command line? I have xcode installed but prefer to develop Lua applications in emacs. The same question in Windows environment.
- Build your project with XCode (I use Xcode 4.2)
- copy APP_NAME.app from /Users/USERNAME/Library/Developer/Xcode/DerivedData/APP_NAME/Build/Products/Debug-iphonesimulator/APP_NAME.app to Desktop
- open /Desktop/APP_NAME.app/,\ you\ can\ see\ your\ lua\ files.
after\ change\ script\ files.\ use\ iphonesim\ launch\ iPhone\ Simulator:
<pre>
iphonesim\ launch/Desktop/APP_NAME.appsdk 4.3stderr /Desktop/APP_NAME_ERROR.log\ -stdout/Desktop/APP_NAME_LOG.log
good luck