Build and launch an app directly to the device

I want the ability to build and launch my app directly to my device. I don’t want to have to do an ad hoc build and drag it into iTunes all the time.

As an alternative, can you support something like the following?

* Build and deploy an app using ad hoc once to my device.
* Have a simple main.lua that simply loads another main.lua (or main2.lua) file from my computer through a WiFi connection to a simple local server.
* This simple server would serve up the files from a given app development folder, so lua files, pngs, sounds, etc. could all be loaded remotely if they are not found in the app itself.

This would let me make lua code changes and just restart the app on my device to have it pick up the new Lua.

You could even integrate an option so that shaking the device reloads the code and restarts the app.

I could do this myself, but it would be nice if there was an integrated & supported way to do this.

Thanks,
Ken [import]uid: 7075 topic_id: 1207 reply_id: 301207[/import]

Running Lua Code wont be integrated I fear…

I believe you can use automation to Build and run on the device.

And don’t use iTunes… Use xCode Organizer or iPhone Enterprise configurator which implement very easy install on the device without syncing everything.

The xCode Organizer also shows you the device console for debugging and installing your app is just drag and drop … the enterprise tool allows easy install and de-installation of beta programs. [import]uid: 6928 topic_id: 1207 reply_id: 3220[/import]

Why does the documentation say to use iTunes then?

I almost believed that there was no way to debug the app on a device.

At least if I have a console, then I can use print statements. This was almost a deal breaker for me. [import]uid: 7075 topic_id: 1207 reply_id: 3307[/import]

Dunno… Probably because iTunes is well known…

From my experience using iTunes is a pain. I already hate it that I need to packacke .ipa file for the testers which are on windows.

And for some reason it won’t work to share an “xxxx.app” folder in dropbox … so even the mac users need to unpack the .ipa (which is a zip file) to have quick installation possibilities using iphone configurator (the enterprise tool for the iphone)

For my windows testers I build every new beta with a different name. So that it always installs new on the device. Deleting and syncing the “same name” app gives to many user errors while upgrading to a newer release.

Using xcode organizer you can really easily update your app on the device…

And you also can use “Instruments” to watch memory and other stuff wile the device executes your app.

In addition there is a debugger with the sdk which I did not use yet… Believe it or not… but since I am programming so many years (28) I am finding bugs mostly with some logging and looking at the sources. Debuggers are more useful for foreign code to me … well it would help to be able to attach a nice remote debugger… but that won’t work for the lua code i fear. [import]uid: 6928 topic_id: 1207 reply_id: 3308[/import]

The advantages to using XCode Organizer instead of iTunes to download your app for testing is you don’t have to worry about the app version number (iTunes won’t update the app on the device unless it’s a newer version). It’s also faster because it’s not syncing and backing up your device every time you download the new app.

Tom [import]uid: 6119 topic_id: 1207 reply_id: 3309[/import]

I think that we really need is iSimulate support in Corona.
http://www.vimov.com/isimulate/

This can speedup tremendously the testing phase. [import]uid: 7114 topic_id: 1207 reply_id: 3365[/import]