如何针对旧版iOS SDK构建Xamarin [英] How build Xamarin against older version of iOS SDK

查看:212
本文介绍了如何针对旧版iOS SDK构建Xamarin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用MacBook上的Xamarin Studio为Apple商店构建我的Xamarin Forms应用程序。直到最近才行得很好。

I'm trying to build my Xamarin Forms app for the Apple store using Xamarin Studio on my MacBook. This worked fine until recently.

我在iOS Build选项卡上的SDK版本下拉列表中可用的唯一选项是Default和 8.3 。如果我使用其中任何一个构建并尝试上传到商店,我会收到以下错误:

The only options available to me on the SDK version dropdown on the iOS Build tab are Default and 8.3. If I build using either of these and try to upload to the store I get the following error:


ERROR ITMS-90068:此捆绑包无效。为
键MinimumOSVersion'8.3'提供的值是不可接受的。

ERROR ITMS-90068: "This bundle is invalid. The value provided for the key MinimumOSVersion '8.3' is not acceptable."

我想这是应该的最近将所有Xamarin和Xcode组件更新到最新版本。

I guess this is due to updating all Xamarin and Xcode components to their latest versions recently.

我正在试图弄清楚如何获得8.2 SDK。

I'm trying to figure out how to get the 8.2 SDK back.

我尝试从 Xcode>下载 iOS 8.2模拟器偏好>下载但似乎没有在Xamarin SDK版本下拉列表中添加任何内容。

I tried downloading the iOS 8.2 Simulator from Xcode > Preferences > Downloads but that doesn't seem to have added anything in the Xamarin SDK version dropdown.

任何想法?

推荐答案

您将用于构建应用程序的SDK版本与应用程序所需的最低iOS版本混淆。

You're confusing the SDK version used to build your app with and the minimum iOS version your app requires.

完全有可能使用iOS 8.3 SDK和目标iOS 5.1.1构建应用程序。

It's perfectly possible to build an app using the iOS 8.3 SDK and target iOS 5.1.1 for instance.

您需要设置最低iOS版本您的应用而不是更改SDK版本;这是在项目的iOS应用程序选项中完成的,方法是将部署目标设置为应用程序的最低iOS版本。

You need to set the minimum iOS version for your app instead of changing the SDK version; this is done in the project's iOS Application options, by setting Deployment Target to your app's minimum iOS version.

这篇关于如何针对旧版iOS SDK构建Xamarin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆