Can I send code written in Swift 4 to the App Store with Xcode 8.3.2?

I would like to use Xcode 9 beta for use in development, but I cannot get the correct settings for using Swift 3.2 in Xcode 9. The editor is much faster than Xcode 8.3.2

I can (and have already) downloaded Swift 4 toolchain from swift.org and can use it in both Xcode 8.3 and Xcode 9 beta. If I wanted to submit my application before Xcode 9 was officially released, can I write it to Swift 4 and then send it to the App Store via Xcode 8.3 using the Swift 4 toolchain?

+4
source share
1 answer

No, you cannot send binary code containing code generated using the Swift 4 toolchain (or any other development toolchain) to the Apple App Store using Xcode 8.3.2.

Jordan Rose, Apple Swift Compiler Engineer, Twitter :

Tool chain development is never used when shipping to the store, sorry! (We want to avoid scripts like XcodeGhost.)

Therefore, this configuration is not supported, and you will need to wait for Xcode 9 to submit projects using Swift 4. Your binary will be rejected.

+12
source

Source: https://habr.com/ru/post/1679082/


All Articles