Apple compatibility documentation mentions that:
Swift 4.1, the default version of Swift, included in Xcode 9.2.
However, using Xcode version 9.2 (9C40b), the choice of Swift version for the language I have is 3.2 and 4.0:
Is this a bug in the documentation or a problem in Xcode? Can I use Swift 4.1 with Xcode 9.2? Will I be able to introduce its use in the AppStore?
Apple documentation is incorrect, Swift documentation is correct .
Well, to be sure which version is supported, we will check it:
xcode 9.2 (9C40b). Xcode swift .
swift
sudo xcode-select --switch /Applications/Xcode.app
.
swift --version
:
Apple Swift 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
, Apple. Swift 4.1 Xcode 9.3
Source: https://habr.com/ru/post/1694852/More articles:How to convert an object to an array in Angular 4? - arrayspromise and promise refactor.all with asynchronous wait es2017 - javascriptHow to insert an image from the Internet into a VBA Excel Userform - internet-explorerThe difference between values ββand reference arguments in Rcpp - c ++How to convert a method of passed arguments to a single object in Java - javaHow do I know which version of Swift I'm using? - terminalShould I use Rcpp :: NumericVector via std :: vector? - c ++programmatically localize info.plist on iOS - iosQuery structure modernization - jsonWebClient Object elements not showing in vba7 object browser - vbaAll Articles