本文介绍了Xamarin.iOS目标iOS 6 SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经升级到XCode 5和Xamarin.iOS 7.x,但有一个应用我们尚未准备好支持iOS 7。

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.

是否有一种定位iOS 6.0 SDK的方法,并编译应用程序,使其具有旧的iOS 6键盘等?

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.?

我们尝试更改iOS Build中的设置 - > SDK版本,我们可以在定位模拟器时更改它,但AhHoc或AppStore版本不存在该选项。

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.

任何想法?

推荐答案

Xcode附带了几个模拟器SDK但只有一个设备SDK。所以你需要安装旧版本的Xcode。例如。安装Xcode 4.6将为您提供6.1 SDK)。

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.

确保XS指向您要使用的Xcode(这不是特定于项目的设置)。

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

这篇关于Xamarin.iOS目标iOS 6 SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 22:31