iPhone SDK is not installed???

when i select a project to build for iphone,the error message is showed.

The iPhone SDK located at is not installed or is missing components. Please (re)install the iPhone SDK.

but i confirm that i have installed the iPhone SDk.

my xcode version is 3.2.3
my iPhone SDK version is 4.0 [import]uid: 8280 topic_id: 1884 reply_id: 301884[/import]

I am getting the same issue - just installed 3.2.4 / iOS 4.1 SDK [import]uid: 5861 topic_id: 1884 reply_id: 5554[/import]

No problems here. OSX 10.5.8 and XCode 3.1.3. [import]uid: 5712 topic_id: 1884 reply_id: 5561[/import]

We’ve gotten several reports on this. We’re looking into it and trying to identify a fix asap. It seems to be limited to the recent iOS 4.1 SDK update and is related to certain path changes in iOS 4.1 versus the previous SDK version.

If you are still using iOS 4.0, we recommend you delay upgrading to 4.1 until we’ve identified the path changes.

If you already upgraded and want a quick fix (before we can supply one), please downgrade to the previous version (iOS SDK 4.0).
[import]uid: 26 topic_id: 1884 reply_id: 5568[/import]

thank you very much.
i am downloading the latest xcode and iPhone SDK,i want to reinstall it. [import]uid: 8280 topic_id: 1884 reply_id: 5602[/import]

I reinstalled the xcode and iPhone SDK and fixed it.

thank you very much. [import]uid: 8280 topic_id: 1884 reply_id: 5638[/import]

I was having the same problem even with SDK 4.0 installed, then I remembered that I also installed the developer preview of Xcode 4.

Turns out that installing Xcode 4 will select Xcode 4/iOS 4.1 as the default SDK, even if 4.0 is still installed. But there is an easy fix that doesn’t require reinstall Xcode.

Run “/usr/bin/xcode-select -print-path” and check the path. I was getting /Xcode4 that is where the preview gets installed to not interfere with the standard version of Xcode in /Developer.

Run “/usr/bin/xcode-select -switch /Developer” to select the original version of Xcode and iOS SDK 4.0.

After that I can run Corona and don’t get the error message anymore.
[import]uid: 456 topic_id: 1884 reply_id: 5683[/import]

We’ve now done multiple tests on this, and Xcode 3.2.4 seems to work fine with Corona. I personally have it running on my development machine.

However, installing the Xcode 4 developer preview seems to change some path data (as raff notes). As a quick fix, some developers report that re-installing 3.2.4 will put the paths back, or see raff’s suggestion above.

To be clear, “Xcode 4” has nothing to do with iOS 4, the numbering scheme is just a coincidence. Xcode 4 is a major revision to Xcode itself; the current Apple environment for iOS 4.0 and 4.1 development is Xcode 3.2.4. [import]uid: 3007 topic_id: 1884 reply_id: 5795[/import]