2012-07-16 54 views
1

我想在我的iPhone和iPad上測試應用程序。 的iPhone正在運行5.1和iPad運行5.1.1從VMWare在iPhone/iPad上啓動XCode 4.0.2應用程序

我收到此錯誤:

Xcode cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.

我有一個開發者的許可證,並遵循了蘋果網站會員部分的配置嚮導。我已經安裝了它所說的一切(證書,配置文件在鑰匙串等),但我仍然得到這個錯誤。

我試着在4.3,4.2,4.1上編譯它,並且基本上所有在構建部分都可用的選項。

在XCode Organizer中,我的設備旁邊出現一個橙色圖標。這是此屏幕上的'錯誤'消息:

The version of iOS on 「Personal iPad」 does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.

這些都在OS X 10.6.7上的VMWare上。

我已經閱讀了其他人有類似問題的帖子,並嘗試了所提出的解決方案(其中大部分都是嘗試在較舊版本上運行)並且迄今爲止沒有任何工作。

回答

2

注意如何使用小於設備版本的SDK版本進行編譯?這是一個問題。對於iOS 5,至少需要Xcode 4.2(5.1 SDK附帶)。

相關問題