Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple project to show you how you can use a device with live testing as you build your app.
JavaScript
branch: master

Added a second tab. Write the code on the app and test if it works.

Signed-off-by: Pedro Enrique <pedro.tma@gmail.com>
latest commit 415cff83a9
@pec1985 authored

readme.md

[Titanium Live Preview] - Test and edit your app while running on device

What is it?

This is a concept for editing an app and testing on a device without having to push through iTunes and sync every time. If you follow the instructions in the code comments you should be able to set it up quickly. Post any questions you have in Github under 'issues'.

Loosely inspired by Unity's live testing: http://unity3d.com/unity/features/iphone-publishing

Probably the best thing would be to have this integrated in to Titanium Developer using some kind of Bonjour service or something similar. (would be cool to have an option to toggle in the tiapp.xml file)

Since the JS files get processed at runtime, this will work most the time. However, there are sometimes when a full re-install / re-build is necessary so depending on what you're actually changing in the code will affect if this works or not.

NOTE: This is against Apple's TOS so it's only good for TESTING your application on a live device. If you try to submit your app like this, it will probably get rejected. Make sure you put your app files from the json file BACK in the local files when you're done testing.

Something went wrong with that request. Please try again.