XCode 4.2 is missing the iOS5 SDK for the Simulator
问题 I created an empty Single View application using Xcode 4.2 on OSX Lion 10.7.2 targeting iPhone 5. The project built happily however when launching the simulator I receive the following error message: iOS Simulator could not find the SDK. The SDK may need to be reinstalled. I then tried targeting the iPad with the same results. I removed Xcode using the terminal and downloaded a fresh copy from the AppStore. The clean installation generates the exact same error. It seems that the SDK is not