Last Updated: February 25, 2016
·
365
· samharnack

Appcelerator Legacy Module Dev Environment Setup

export TI_PATH="$HOME/Library/Application Support/Titanium/mobilesdk/osx"
export TI_SDK_LATEST=$(ls -t "$TI_PATH" | head -1)
export TI_VERSION=$TI_SDK_LATEST

alias titanium.py='"$TI_PATH"/"$TI_VERSION"/titanium.py'
alias ios_builder='"$TI_PATH"/"$TI_VERSION"/iphone/builder.py'

Setup the module environment in your .bash_profile to always use the latest installed Titanium SDK.

iOS Module Development Guide