简体   繁体   English

iOS:应用商店是否拒绝使用较早版本的swift构建的应用?

[英]iOS: Does the app store reject apps built with older versions of swift?

I have an older app which has been hanging around for a while but now needs to be deployed to the app store. 我有一个较旧的应用程序,已经徘徊了一段时间,但现在需要部署到应用程序商店。 This app was last built with Xcode 10.1 and while it is primarily in Swift 4 it has some Swift 3 pods. 该应用程序上次使用Xcode 10.1构建,虽然它主要在Swift 4中使用,但它具有一些Swift 3容器。

Someone has told me that apps submitted to the store which use Swift 3 will be rejected. 有人告诉我,提交给商店的使用Swift 3的应用将被拒绝。 Is there any evidence for this? 有任何证据吗?

The apple developer site ( https://developer.apple.com/app-store/submissions/ ) only says that if you use Swift 4 you can upgrade your app to Swift 5 later on. 苹果开发人员网站( https://developer.apple.com/app-store/submissions/ )仅表示,如果您使用Swift 4,则可以在以后将应用程序升级到Swift 5。 As there is nothing written about Swift 3 i assume that it´s an outdated version and not accepted anymore 由于没有任何有关Swift 3的文章,我认为它是过时的版本,不再被接受

"Xcode 10.2 includes Swift 5 and the latest SDKs for all Apple platforms. If your app is written in Swift, you can continue to submit apps in Swift 4 to the App Store and migrate individual modules to Swift 5 when you're ready." “ Xcode 10.2包括适用于所有Apple平台的Swift 5和最新的SDK。如果您的应用程序是使用Swift编写的,则可以继续将Swift 4中的应用程序提交到App Store,并在准备就绪时将各个模块迁移到Swift5。”

我现在已将该应用程序发送给审查,它已被自动验证流程和Apple审查所接受,因此显然Swift 3仍被商店接受。

In Apple's Developer News: https://developer.apple.com/news/?id=09122018c , it says that after March 2019 all App store submissions need to be built with the iOS 12 SDK. 在苹果公司的开发者新闻中: https : //developer.apple.com/news/?id=09122018c ,它表示2019年3月之后,所有App Store提交的内容都必须使用iOS 12 SDK构建。 Building with the iOS 12 SDK requires Xcode 10 or later. 使用iOS 12 SDK进行构建需要Xcode 10或更高版本。 IIRC, the minimum version of Swift supported for iOS builds using Xcode 10 in Swift 4.2. IIRC是iOS 4.2中使用Xcode 10构建的iOS支持的最低Swift版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM