The iOS SDK could not be found

hello
I am using a trial version of corona SDK
At my first build for iPhone I get an error message saying: “The iOS SDK could not be found. Please install the iOS SDK”
of course I have already installed iOS SDK (I have also built and deployed an application on my iPhone) so I’m sure the SDK is installed.
the iOS version is 4.2
anybody can help me?
thanks [import]uid: 11400 topic_id: 4257 reply_id: 304257[/import]

The build process expects the XCode tools and such to be in the default location (/Developer, by default). If you installed a newer SDK along side the older one, you may need to use “xcode-select” to point to that folder location.

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html

So if your new SDK is installed to /XCode4.0/, you would enter in the Terminal:

$ xcode-select -switch /Xcode4.0/

I’ll add this to the documentation.

thanks,
Tim [import]uid: 8196 topic_id: 4257 reply_id: 13272[/import]

Hi Tim
thanks for your answer
the problem was a little bit different, because I have installed xcode in the default directory but I didn’t have the command line tools, so something was wrong in the installation.
I have reinstalled xcode, now command line tools are available and everithing is working fine
I have installed my first (very early version) App! great
regards
andrea [import]uid: 11400 topic_id: 4257 reply_id: 13315[/import]

Currently, I’m in this same situation. I had XCode3 installed in /Developer, and XCode4 installed somewhere else. I uninstalled XCode3, then uninstalled XCode4 and reinstalled XCode4.

Still, Corona can’t find it. XCode runs fine and builds fine though.

So, my question is, how can I find out what path I need to use with xcode-select -switch in order to point to XCode4?

I’ve tried /Applications which is the only place anything XCode4 related appears.

Please, help. [import]uid: 125079 topic_id: 4257 reply_id: 88225[/import]

@tjsamson - Take a look at this topic below as probably happened to you what happened with me and others as well.

http://developer.anscamobile.com/forum/2012/01/13/trying-build-ios-app-get-error-please-reinstall-ios-sdk

Cheers,
Rodrigo. [import]uid: 89165 topic_id: 4257 reply_id: 88227[/import]