So I keep getting this message when I try to build for iPhone:
“The iOS SDK could not be found. Please install the iOS SDK.”
I have XCode 3.2.5 and iOS SDK 4.2. What could the problem be? I am able to build from XCode. XCode is in the Applications folder within the Developer folder. What is going on?
Did you install a beta version of Xcode at some point? And did you later remove it?
In Terminal.app, please run:
xcode-select -print-path
The path should match where you installed Xcode 3.2.5. If it doesn’t, you need to fix xcode-select so it points to the correct path or reinstall Xcode.
If xcode-select is not found, I think something is messed up in your Xcode install. I recommend reinstalling Xcode.
[import]uid: 7563 topic_id: 6389 reply_id: 22759[/import]
It is not found for me also. I have always installed XCode in the standard way…I’ll try again, though I doubt it will help. [import]uid: 36022 topic_id: 6389 reply_id: 22785[/import]
What is the proper path for XCode to instal at?
This is where mine is now as I can see in Finder:
HD>Developer>Applications>XCode.app [import]uid: 36022 topic_id: 6389 reply_id: 22786[/import]
xcode-select should have been installed to /usr/bin
xcode-select -print-path should point to
/Developer
for default installs. [import]uid: 7563 topic_id: 6389 reply_id: 22790[/import]
When I downloaded and “installed” Xcode from the app store, it didn’t actually install at all. I checked my launchpad and there was an icon called “install Xcode” or something similar. Running that did finally install Xcode. This is something that was new in Lion that I didn’t know to look for. Seems silly but could that be your issue too? [import]uid: 31262 topic_id: 6389 reply_id: 49627[/import]
I guess it’s like the Lion upgrade. You download an installer but it doesn’t install until you tell it to [import]uid: 10389 topic_id: 6389 reply_id: 49629[/import]
the problem was solved for me when I re-installed the Corona SDK.
This happened after updating my xCode, the Corona lost the location of the iOS SDK (which I upgraded to 5). So when I reinstalled the Corona everything got back in place. [import]uid: 57961 topic_id: 6389 reply_id: 70368[/import]