Hello, I'm unable to create a new mobile project because I keep seeing the message "An iOS SDK is missing". I have just installed Titanium Studio 1.0.8 and Xcode 4.3. I verified that Xcode is running fine. I'm working on a Mac Book Pro with Lion. I even tried reinstalling Xcode. Any help would be greatly appreciated.
16 Answers
I ran into the same problem and found that I had to run the following command to update the Xcode settings so it would find the iOS SDK:
sudo xcode-select -switch /Applications/Xcode.app/Contents/DeveloperNow when I build, I get an dyld error on the DevToolsFoundation framework, but at least this might get the next early adopter a bit further along in the process.
check out this link and it will be able to build with sdk 1.8.2 in lion and xcode 4.3
http://seanfreitag.wordpress.com/2012/02/17/fixing-ios-simulator-via-command-line-on-xcode-4-3/
The ios-sim application that launches the simulator and starts the app is linked against the old /Developer/Platforms/ directory:
$ otool -l ios-sim (lots of stuff) Load command 17 cmd LC_RPATH cmdsize 96 path /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks (offset 12)I cloned the ios-sim repo from github and rebuilt in Xcode 4.3, but it still had issues locating the DevToolsFoundation framework until I added the following linker flags:
-Wl,-rpath -Wl,$(DEVELOPER_DIR)/../OtherFrameworksThe LC_RPATH entries in the ios-sim executable are now correct for Xcode 4.3:
Load command 17 cmd LC_RPATH cmdsize 128 path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks (offset 12) Load command 18 cmd LC_RPATH cmdsize 80 path /Applications/Xcode.app/Contents/Developer/../OtherFrameworks (offset 12)I've added this information to TISTUD-1196; follow that bug for the official fix.
any chance we can get our hands on the build of ios-sim , to get the unfortunate souls out of purgatory.
I am unclear how to update iOS-sim myself
I was running into the same problem with Xcode 4.5.
I re-installed Titanium Studio, ran command "sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/". Still the simulator would launch and quit.
Double clicked tiapp.xml file to open overview and changed the Titanium SDK from 1.7.5 to 3.0.0.GA and it started working.
It seems that due to the new xcode the file structure has completely changed. We need to wait for appcelerator to release an update :(
How about to downgrade xCode to 4.2?
Yeah you just need to get 4.2.1 though
you could try the beta of titanium check this out to get the beta's http://preview.appcelerator.com/appcelerator/studio/standalone/update/beta/
I've installed beta build 1.0.9.201202141347 and latest Xcode, it doesn't work: An iOS SDK is missing. Titanium requires a version between 4.2 and 5.1 Any suggestion?
Guys, any update? This is the message I get when I run the iPad Kitchen sink:
~~~ [INFO] One moment, building ... [INFO] Titanium SDK version: 1.8.1 (01/27/12 17:31 a24502a) [INFO] iPhone Device family: ipad [INFO] iPhone SDK version: 5.0 [INFO] iPhone simulated device: ipad [INFO] Launching application in Simulator dyld: Library not loaded: @rpath/DevToolsFoundation.framework/Versions/A/DevToolsFoundation Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient Reason: image not found [INFO] Launched application in Simulator (2.37 seconds) [INFO] Application has exited from Simulator ~~~~
Hello everyone, I am new to app dev, i have exec the line posted by Paul Mietz Egli and now titanium is picking the iphone sdk.
could you keep me posted, pls?
I also can't get Titanium Studio to find my iOS SDK... so unfortunately it's pretty useless for me right now.
Any update of this issue? I know i'm running iOS 5.1 SDK at the moment and titanium can't find it because of the new way apple packages it SDK.
It works with Xcode 4.3 and SDK 2.x now (although for some reason the height of the tableRows behaves strange). If I compile with SDK 1.8.2 then I get the same error. So use 2.x and it should work...
Your Answer
Think you can help? Login to answer this question!