iPhone SDK box on Titanium "Run Emulator" screen reads "loading..."
I just downloaded Titanium and I tried to run the KitchenSink demo. It throws pages of Javascript errors and then stalls on "[INFO] Executing XCode Compiler [toggle output]". The weird thing I notice is that the iPhone SDK selection box on the "Run Emulator" screen reads "loading…" instead of a list of versions like the Android tab reads.
I have no problem building and running apps straight from Xcode. It kind of sucks - Objective-C was beating me down so I thought I would give this a shot and I can't even get the demo to run.
6 Answers
-
I tried creating an empty project and it tells me I don't have Xcode installed. Which is weird since I have built and deployed several apps to the App Store. On a test machine, everything worked fine so I'm not sure what Titanium is looking for. The only weird thing I did on this machine was install the 4.0 Beta into a different folder so I could test features without disrupting my 3.x development.
-
I found the solution here:
http://avijit-paul.blogspot.com/2009/12/solution-iphone-sdk-not-found-in.html
Although xcode is installed, it thinks that it is not there. The reason probably is titanium thinks default Xcode installation directory in "/usr/bin". However, the latest xocde gets installed in xcode 3.1.4 directory. So the solution is (from the forum)
simply create a symlink to the default Xcode installation directory in "/usr/bin". In Terminal:
cd /usr/bin
sudo ln -s /Developer/usr/bin/xcodebuild xcodebuild
Once restarted Titanium, the green tick appeared. -
I have the same problem with you.
my iphone SDK has been detected.
But the iPhone SDK selection box on the "Run Emulator" screen still reads "loading…"
Can someone help me please? -
I have the same problem with you.
my iphone SDK has been detected.
But the iPhone SDK selection box on the "Run Emulator" screen still reads "loading…"
Can someone help me please? -
I seem to experience exactly the same problem. Any tips?
-
See the solution here :
http://developer.appcelerator.com/question/58191/unable-to-find-sdk—loading
hth
K