SDK版本问题 [英] SDK Version Issue

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

问题描述

当我通过 xcode 8.x 上传应用程序时收到警告.

i'm getting the Warning when i upload my application through xcode 8.x.

Xcode 用于未来的应用程序交付."警告 ITMS-90725:SDK 版本问题.2018 年 7 月,提交到 App Store 的 iOS 应用更新将需要使用 iOS '11.0' SDK 或更高版本构建,包含在 Xcode 中[9.0] 或更高版本.请务必更新 Xcode,以便将来交付应用."

Xcode for future app deliveries." WARNING ITMS-90725: "SDK Version Issue. In July 2018, iOS app updates submitted to the App Store will need to be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Make sure to update Xcode for future app deliveries."

我的项目是用旧的 swift 2.X 语言和 Objective-c 中的一些模块开发的..

My project was developed in old swift 2.X language and some of the module in objective-c..

我应该将整个项目转换为最新的 swift 4.x 并更新所有 sdk 吗?

should i convert whole project to the latest swift 4.x and update all sdks?

推荐答案

从 7 月开始,所有应用更新和所有提交到 App Store 的新应用都必须使用 iOS 11.0 或更高版本的 Base SDK 创建.这需要 Xcode 9.0 或更高版本.这意味着您的应用程序必须使用 Swift 4 或更高版本.您的应用可能仍支持较早版本的 iOS(8 或 9).

Starting in July, all app updates and all new apps submitted to the App Store must be created with a Base SDK of iOS 11.0 or later. This requires Xcode 9.0 or later. This means your app must be in Swift 4 or later. You may still support earlier versions of iOS (either 8 or 9) in your app.

Swift 2 已经过时几年了.

Swift 2 has been obsolete for a few years already.

所以是的,您需要转换为 Swift 4 并相应地更新您可能正在使用的任何库.使用 Xcode 8 首先将您的 Swift 2 代码转换为 Swift 3(巨大的变化).然后使用 Xcode 9 将 Swift 3 代码转换为 Swift 4(小改动).

So yes, you need to convert to Swift 4 and update any libraries you may be using accordingly. Use Xcode 8 to first convert your Swift 2 code to Swift 3 (huge change). Then use Xcode 9 to convert the Swift 3 code to Swift 4 (minor changes).

Apple 希望您使用最新的工具.你需要跟上.最好避免等到像这样的截止日期,它只会让更新您的应用变得更加困难.

Apple wants you using the latest tools. You need to keep up. It's best to avoid waiting until cutoffs like this, it just makes updating your app that much harder.

这篇关于SDK版本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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