Installing Titanium SDK Continuous Builds
Contents
Summary
To take advantage of bleeding edge functionality and the most recent bug fixes to the Titanium SDKs, without waiting for an official release, you can manually download and install a Continuous Integration Build (also known as CI Build or Continuous Build). Continuous Builds are packages compiled and published automatically when Titanium's open source repository has received a new code commit.
Be aware that only major releases of any of our software are officially supported and therefore, by the same token, we cannot accept Jira tickets or investigate problems that result from using a Continuous Build. That said, you may find discussions and workarounds for them in our Jira bug-tracking system or our community Q&A forum.
Obtaining the Build
You can download the latest continuous builds from http://build.appcelerator.net.
Use the drop-down menu at the top of the page to select between the existing development branches. The master branch is the branch currently in active development, and will ultimately become a major release. You can determine the version number associated with this branch by hovering over one of the download links and inspecting the name of the file.
It's important to compare the SHA1 hash of the downloaded SDK archive with the one displayed on the download page, before you attempt to install it. Do not install the package if the SHA1 hashes don't match – this may indicate a corrupted package.
If you discover a corrupt package, simply download each previous day's release until you find one that is valid. There is no need to report it to us.
Installing the Build
Titanium Studio Install
To install a Titanium SDK using Titanium Studio, follow these steps:
-
using a browser, right click a SDK archive download link and copy its URL
-
From Titanium Studio, select the menu item, Help > Install Titanium SDK from URL
-
paste the link into the resulting dialog field, and click Finish
Manual Install
We strongly recommend that you use Titanium Studio to manage SDKs. Please see the previous section.
To manually install a Titanium SDK, follow these steps:
-
Extract the SDK archive file
-
Move the versioned directory, for example named in the format 1.7.4.v20111021114614, into your Titanium installation folder, which is contingent on your platform, as follows:
|
Operating System |
Target Platform Type |
Local Path |
|
OS X (Pre-Lion) |
Mobile |
/Library/Application Support/Titanium |
|
OS X (Lion) |
Mobile |
~/Library/Application Support/Titanium |
|
Windows 7 |
Mobile |
%ProgramData%\Titanium\mobilesdk\win32 |
|
Windows 7 |
Desktop |
%ProgramData%\Titanium\sdk\win32 |
|
Windows XP |
Mobile |
C:\Documents and Settings\All Users\Application Data\Titanium |
|
Linux |
Mobile |
~/.titanium/mobilesdk/ |
|
Linux |
Desktop |
~/.titanium/sdk |
-
Restart Titanium Studio, open the project's tiapp.xml file, and select the new SDK from the SDK Version drop-down menu
SDK Archive File Structure
Especially in corporate environments, it may be necessary to compile Titanium SDKs and make them available on a server. Be aware that, in order to determine whether a SDK zip archive contains a mobile or desktop SDK, Titanium Studio requires that the SDK file structure follows this convention:
.zip root
-->mobilesdk
---->osx
------>VERSION.NUMBER
This must be archived as mobilesdk-VERSION.NUMBER.zip
or
.zip root
-->sdk
---->osx
------>VERSION.NUMBER
This must be archived as sdk-VERSION.NUMBER.zip