MonoTouch Error: “The Apple iPhone SDK not installed” after upgrade to iOS 5.1

我怕爱的太早我们不能终老 提交于 2019-12-10 10:36:57

问题


I've upgraded iOS 5.0.1 to 5.1 and I'm using MonoTouch 5.2.5 and MonoDevelop 2.8.6.5. When I created a sample applcation in MonoDevelop, it shows the error "The apple iphone sdk not installed".

How do I get MonoTouch to work with iOS 5.1?


回答1:


Did you only update your device(s) to iOS 5.1 ? or

Did you install the new Xcode 4.3.1 from the AppStore ?

That where the iOS 5.1 SDK is available and MonoDevelop 2.8.6.5 should pick it up automatically.

From MonoDevelop menu, select About Mono Develop item, select the Version Info tab and look if anything is listed as missing (or simply looks wrong). You can edit your question to include this information (up to the Loaded Assemblies section).




回答2:


To solve the problem:

set the apple SDK in MonoDevelop to the correct installed version of XCode. This wil fix this issue. I did not find this answer anywhere, but this did the trick for me!



来源:https://stackoverflow.com/questions/9736333/monotouch-error-the-apple-iphone-sdk-not-installed-after-upgrade-to-ios-5-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!