I have a Macbook Pro 13" (new) and just installed the iPhone SDK 4.0 and Titanium 1.2.1. After that, I opened Titanium up, installed the Mobile SDK update to 1.4.0 and opened the kitchen sink iPhone project.
When I go to Test & Package > Run Emulator > iPhone, the SDK dropdown remains at "loading…" forever.
Is Titanium not compatible with iOS SDK 4.0 or is there something I need to do?
Downloaded the latest build from here, unzipped it, and added the 1.4.1 directory to /Library/Application Support/Titanium/mobilesdk/osx.
"Loading" problem is no longer there but when I select SDK 3.2 to launch my app in it brings up an iPad simulator. Needed to use SDK 4.0 to launch the iPhone simulator.
Titanium is compatible with iPhone SDK version 4. What the "loading…" text usually means is that Titanium Developer does not see the Xcode tools on your system path. If you go to your terminal and run "xcodebuild" and nothing happens, then probably your path is not configured correctly and you'll have to put /Developer/usr/bin on your path (this SHOULD have been done by the Xcode installer automatically). To correct this, you could also reinstall Xcode and the iPhone SDK, but this might be considered a 'nuclear option'.
If adding the tools to your path doesn't work, run the following from a terminal:
~/Library/Application\ Support/Titanium/mobilesdk/osx/1.4.0/iphone/prereq.py project
If not, paste the output and we can see what might be up.
I just found a similar thread on this site, which indicates the problem is caused by the recent iTunes 10 upgrade. Making the suggested change to prereq.py has done the trick for me and the iPhone emulator is working again.
I had a similar case, finally, all I had to do was
- select the project in the "project pane",
- click on "Edit" from the top menu, then
- select "1.6.2" in the Titanium SDK,
- save changes and you're done :)