A basic introduction to getting setup with Appcelerator’s Titanium SDK.
The first thing you need to do is obviously download the SDK, which you can do here.
Once you have done that you will launch Titanium Studio and make sure you have the required SDKs installed. In my case this was only Xcode 4.2+ for iOS development. (*At the time of writing I wasn’t playing with Android yet, I am now, see the note at the bottom of the post for info on that.)
If you have Xcode 4.2+ installed but are being told the iOS SDK cannot be found then you can remedy this by opening terminal and typing in the following command;
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
From there you can choose to create a new project and select your target devices.
You will see a number of things under the “App Explorer” tab in the left sidebar but the place your code will go is, within your new project, Resources / app.js.
This is where you start coding!
There are many great tutorials (written and video) available online for Titanium and I hope to add to those shortly (Platino tutes in due course!) but in the meantime wanted to write this brief run down on how to get set up and into a new project.
Stay tuned – new tutorials and sample code are coming!
*For Android you will want to download the Android SDK here, then unzip it, places it in the desired location (for me this is Users/peachpellen) and then run tools/android and choose what you want to install. (I installed everything from 2.2 up.)