Using nightly builds of Titanium

I’ve started using nightly builds of Titanium to our code base, and this is what I found out:

First of all, you can get the latest Titanium from github’s master branch, but you’d need to compile it yourself using python and scons, as detailed here. If you run into problems building the android sdk from source: 

scons: Reading SConscript files ...
Exception: No Android SDK directory found:
  File "/Users/jmw/src/titanium_mobile/SConstruct", line 79:
    sdk = AndroidSDK(ARGUMENTS.get("android_sdk", None), 4)
  File "/Users/jmw/src/titanium_mobile/support/android/", line 42:
    raise Exception('No Android SDK directory found')

here’s the fix.

However, if you don’t want to compile it, there’s a repository of nightly builds.

Either way, you’ll end up with a zip file that you can copy to your Library/Application Support/ directory from root or from your user directory. From the 3rd step detailed here:

Unzip the new distribution file and put the new mobilesdk source in the Titanium application directory:

/Library/Application Support/Titanium/mobilesdk/osx/

Then restart Titanium Developer and select the new Titanium SDK version, and then launch. Thereafter, you can compile from Xcode.

If you’re upgrading from 1.4.2, you might get this error:

_OBJC_CLASS_$_SBJSON". referenced from: Objc-class-ref-to-SBJSON in libtiverify.a (TiVerify.o) 
Symbol(s) not found


And once again, google is great. Here’s the fix. You’ll need to scroll down to the comments to figure out the fix.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s