"The iOS SDK could not be found. Please install the iOS SDK."

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?

Thanks! [import]uid: 36022 topic_id: 6389 reply_id: 306389[/import]

Anyone??? [import]uid: 36022 topic_id: 6389 reply_id: 22661[/import]

Same problem here [import]uid: 37827 topic_id: 6389 reply_id: 22718[/import]

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.

[import]uid: 7563 topic_id: 6389 reply_id: 22755[/import]

Says command not found
So, how do I fix it? [import]uid: 37827 topic_id: 6389 reply_id: 22757[/import]

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]

Maybe you need to make sure the Unix tools are installed when you install Xcode? Maybe it is an option that you unchecked?

[import]uid: 7563 topic_id: 6389 reply_id: 22793[/import]

Somehow, reinstalling did work. Thanks! [import]uid: 36022 topic_id: 6389 reply_id: 23026[/import]

I am also having this issue.

After my upgrade to Lion and installation of the new Corona SDK stable, it cannot find the iOS SDK.

I downloaded XCode from the App Store and it still does not work.

I can’t use “xcode-select” as there is no command xcode-select to be found on the computer.

Please help! [import]uid: 10389 topic_id: 6389 reply_id: 49621[/import]

@Waulok

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]

Brilliant! Will try that when I get home!

Thanks so much!

I guess it’s like the Lion upgrade. You download an installer but it doesn’t install until you tell it to :slight_smile: [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]

Ok I’m having the same problem.

I just setup a New Mac and installed Xcode 4.3 and then Corona and I get…

“The iOS SDK could not be found. Please install the iOS SDK.”

I think this is because Xcode is now installed self contained in the Applications Directory

Anybody know how to fix this? [import]uid: 8697 topic_id: 6389 reply_id: 88485[/import]

Go to this thread:
http://developer.anscamobile.com/forum/2012/01/13/trying-build-ios-app-get-error-please-reinstall-ios-sdk [import]uid: 7563 topic_id: 6389 reply_id: 88491[/import]