Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

In order to work around shortcomings of the Titanium Mobile SDK, or to add custom features to the API, it's necessary to modify the SDK iPhone and Android source code. This can either be done in the pre-built SDK, or the already-built SDK.

...

OS X

In order to compile the Titanium SDK, you must have Python, scons, and Android already installed.

The Titanium Mobile SDK is open source under an Apache version 2 license, and is available on Github https://github.com/appcelerator/titanium_mobile. Compiling the SDK from Github source requires Python (w/JSON) and the cross-platform scons build tool: http://www.scons.org/.

 

  1. Install the Android SDK and download Android 2.2 (with the Google APIs).
  2. Install scons: http://www.scons.org/.
  3. Checkout the source (requires git) and build.

    No Format
    $ git clone git://github.com/
    appcelerator
    Jasig/titanium_mobile
    .git
    
    $ cd titanium_mobile
  4. Edit the SDK source
  5. Build the SDK
    $
    
    $ git checkout --track -b 1_8_X origin/1_8_X
    $ scons
  6. Unpack newly-generated SDK zip from titanium_mobile/dist/mobilesdk-x.x.x-os.zip to your Titanium Mobile SDK directory (on Mac OS, /Library/Application Support/Titanium/mobilesdk/osx/)
  7. The new SDK should be available to select from within Titanium Studio to build your project.

...