Xamarin.iOS Target iOS 6 SDK

放肆的年华 提交于 2019-12-13 14:33:32

问题


We have upgraded to XCode 5 and Xamarin.iOS 7.x, but have one app we are not quite ready to support iOS 7 for yet.

Is there a way to target the iOS 6.0 SDK, and compile the app so that it has the old iOS 6 keyboard, etc.?

We tried changing the settings in iOS Build->SDK Version, and we can change it when targeting the simulator, but the option doesn't exist for AhHoc or AppStore builds.

Any ideas?


回答1:


Xcode ships with several simulator SDK but only one device SDK. So you need to install an older version of Xcode. E.g. installing Xcode 4.6 will give you the 6.1 SDK).

Both versions can coexists side-by-side if you rename the existing one before installing the 2nd.

Be sure to have XS points to the Xcode you want to use (it's not a project specific setting).



来源:https://stackoverflow.com/questions/19146688/xamarin-ios-target-ios-6-sdk

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