Question
Yesterday I started to develop with Phonegap. I downloaded phonegap and xCode 4.3 from the Mac App Store.
When I try to install phonegap it says: no iOS SDK installed. I searched the web but couldn't find any solution.
Can someone tell what I need to do?
Thanks
EDIT 2
Alright, phonegap 1.5 is released today and it works with Xcode 4.3. Sweet :)
EDIT Found a work-a-round https://github.com/apache/incubator-cordova-ios/blob/master/CordovaInstaller/CordovaInstaller.pmdoc/index.xml#L36-47
Solution
Phonegap wasn't ready for Apple's latest Xcode surprise, that being the removal of the traditional /Developer
and SDK
directories.
You'll have to go back to Xcode 4.2 or wait a few weeks for PhoneGap 1.5 or 1.6.
This Phonegap Discussion group thread here has another suggestion: a patch that takes the SDK check out of the PhoneGap installer (see these highlighted lines in GitHub)
OTHER TIPS
Patching and building PhoneGap installer didn't work for me. :(
Just create Xcode and iOS SDK directories to skip the requirements part.
sudo mkdir -p /Developer/Applications/Xcode.app
sudo mkdir -p /Developer/Platforms/iPhoneOS.platform
And install with the package from http://phonegap.com/