Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A make file for building your titanium mobile applications from the command line
branch: load_on_device

This branch is even with appersonlabs:load_on_device

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.



How to start the project

Add the files from this repo to the root dir of your project and type one of the following in a terminal:

$ make run

* To change the SDK version, change the SDK version in your tiapp.xml.

$ make clean && make run

To run the application on Android, type:

$ make clean && make run

to change platform, simply run:

$ make run platform=andorid


$ make run platform=ipad

The default platform is iPhone

* You just have to use “make clean” before the run command if you change the device type. If you’re using the same device between executions, it’s not necessary to execute “make clean” because it will force Titanium to re-compile the entire project again, which is considerably slow.

How to run on your device

To run your app on an iOS device you must simply add your development cert to /certs/development.mobileprovision Creating the crets dir if needed.

After that, simply run

$ make deploy

Build and deploy directly to TestFlight

Simply run

$ make deploy testflight=true

Now before you do this, you will need to add 2 lines to your tiapp.xml file
You can also have the app auto distributed by setting a comma seperated list of distrabution lists

I also added an optional notes feature like so:

$ make deploy testflight=true notes=“This is Beta 3 on my app”

That note will then be deliverd in the email to your beta testers informing them of the new app being ready to download.

* Due to restrictions in the TestFlight API… if you dont set tf_dist in your Tiapp.xml… users wont get an email letting them know they can download till you go onto the testflight site and check them as users of the latest beta.

How to install the Textmate bundle

1. Double-click on the MakeTi.bundle pack to install the bundle in Textmate.
2. Edit the ANDROID_SDK_PATH variablie in Textmate to the correct path of the Android SDK.
To do this go to Preferences→Advanced→Shell variables add a new variable named ANDROID_SDK_PATH and set the path to the location of your Android SDK. (in my case is /android-sdk-mac_x86).
3. Open the whole project in Textmate.
B. Cmd+B within a file should open an option dialog letting you choose what to build for.

Simulator only for now

How to install the SublimeText2 package

1. Copy the MakeTi.sublime-package file to _~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/
2. Restart SublimeText2.
3. Edit the ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/MakeTi/MakeTi.sublime-settings file to the correct path for the Android SDK.
4. Restart SublimeText2.
5. Open the whole project in SublimeText2.
6. Go to menu Tools→Build System and select MakeTi.
7. Cmd+B within a file should open an option dialog letting you choose what to build for.

Simulator only for now


- Deploy to AppStore / Marketplace

- Build for device (Android)

- Don’t ask if I want to replace the existing version of the app in iTunes (iOS only)

- Dynamic build plugins

- Update the Textmate and SublimeText2 plugins for the new build options MakeTi offers (deploy to device and to testflight).


Licensed under Apache Public License (Version 2).

Originally Developed by Guilherme Chapiewski. Extended and edited by Matt Apperson.

Something went wrong with that request. Please try again.