SDK版本问题 [英] SDK Version Issue

查看:146
本文介绍了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月开始,必须使用iOS 11.0或更高版本的Base SDK创建所有提交给App Store的应用程序更新和所有新应用程序.这需要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天全站免登陆