I came across this tool so thought I'd try it, but can't seem to get it to work.
I already have both the latest iPhone SDK and Adroid SDKs installed.
I'm on OS X 10.6.4
iPhone 3.2 or 4.0
Android 1.6, 2.0, API's 2.0
I created a test mobile project called "Hello" and selected iPhone, Run Emulator. No matter what I try, I get the following error on iPhone:
When I try the same thing with Android, it crashes Titanium Developer. Mac Error Log is here: http://pastie.org/1028202
I can't believe nobody else has had this problem. Even did a fresh install of everything, same issue. Does this dev tool work for anyone on OS X? If so, how'd you get it to work???
Are you using the stable release build of the Titanium mobile SDK or the RC candidate that you have to download and install manually? I experienced the same issue after downloading and installing the RC link from the blog. I ended up rolling back the install to the 1.3.0 mobile SDK and everything worked fine after that.
The behavior you're seeing on Android is new to me, but the error for iPhone is likely related to the need for a patch on Mobile SDK version 1.3.0 to get it to run on the latest version of Xcode. Check out Jeff's blog post on that topic, with instructions to patch. For Android, I would check
- Java version is 1.6
- java and javac are available on your system path
- Android tools revision 6 or better is installed (check 'available packages' - sounds like you have this set up already)
- Check the Profile perspective of Titanium Developer (third button in the top left corner of developer) and make sure the Android SDK directory is set to the top level directory of your Android install (containing the tools directory)
@Gerald try unplugging your Logitech Headset. It's been a while but one other user experienced a native crash and it ended up being his headset.
USB Device: Logitech USB Headset, 0x046d (Logitech Inc.), 0x0a0c, 0xfd130000
I've just got Titanium working on Mac OSX. It wasn't very straightforward unfortunately:
Do all available software updates for your Mac to ensure you've got the latest Java build (Apple release their own version of Java - you can't get it from java.sun.com as far as I know)
Create an iPhone developer account, then download and install the iOS SDK 4.0.1:
3.1. Download and install Titanium
3.2. Download the 1.3.2 Titanium SDK: http://developer.appcelerator.com/blog/2010/06/1-3-2-1-4-rc1-release-now-available.html then copy the '1.3.2' folder within this to your Titanium install: /Library/Application Support/Titanium/mobilessdk/osx/
4.1. Download the Android SDK and AVD Manager: http://developer.android.com/sdk/index.html
4.2. Copy the extracted folder 'android-sdk-mac_86' to your Titanium install: /Library/Application Support/Titanium/sdk/
4.3. Open up the tools/android program, then download and install all the available packages
5.1. Now you can run Titanium. Click the icon in the top left to open the profile perspective, then set the Android SDK location to /Library/Application Support/Titanium/sdk/android-sdk-mac_86
5.2 When you create a project, set the Titanium SDK to 1.3.2 on the Edit tab.
5.3 I also found that running the iPhone simulator in SDK 4.0 ran it as an iPhone, but the 3.2 SDK ran it as an iPad.
5.4 When you run the Android simulator, make sure you set the SDK to one of the google APIs, e.g. 'APIs 2.1' and not '2.1'
Hope that helped.