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 run
To run the application on Android, type:
$ make clean && make run platform=andorid
To run the application on iPad, type:
$ make clean && 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.
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
To deploy the application on Android, type:
$ make clean && make deploy platform=andorid
To deploy the application on iPad, type:
$ make clean && make deploy platform=ipad
Android users also have an extra option of apkonly=true, so if you run:
make clean && make deploy platform=andorid apkonly=true
you will have an UNSIGNED (for dev use only, not for the market) apk located in:
(your project dir)/build/android/bin/app.apk
* When you do a deploy on any iOS platform, it MakeTi will present to you a list of avaliable certs on your system, next to each cert is an id. you must re-run your deploy command using the cert you wish to use by adding cert= to your command.
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.
Simply run
$ make deploy hockeykit=true
OR
$ make deploy platform=android hockeykit=true
To set your API key and app ID, simply add the following XML nodes to your tiapp.xml:
hockey_api (required)
hockey_ios_id (required for iOS upload, use the “Public app ID” HockeyKit provides)
hockey_android_id (required for android upload, use the “Public app ID” HockeyKit provides)
I also added an optional notes feature like so:
$ make deploy hockeykit=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.
* Please not, an app must first be manualy created in HockeyKit, MakeTi wont create an app for you.
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
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
- Don’t ask if I want to replace the existing version of the app in iTunes (iOS only)
- 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.