Reminder: wait to upgrade Xcode, until a compatible patch is available
Reminder to SAP Cloud Platform SDK for iOS developers (and Xcode developers in general): wait to upgrade your Xcode, until framework providers have provided compatible binaries.
In the Xcode 10.2 case, SAP expects this to take a few days to work though the build & release process.
Fingers-crossed, with ABI compatibility in Swift 5, this may be nearly the last time we need to worry about this! Until then, please wait a few days for the Xcode upgrade.
If you have already upgraded Xcode to 10.2, you can download Xcode 10.1 from the Downloads section at developers.apple.com. Rename the app bundle, and you can run the two versions side-by-side.
Is SAP Cloud Platform SDK for iOS finally compatible with Swift 5?
Hi Frederico, the SDK is indeed compatible with Swift Language version 5. In fact, even frameworks compiled for Swift Language 4.2 were compatible with frameworks compiled with Swift Language 5, so long as they were produced by a common version of the compiler.
The incompatibility is actually the specific compiler version. An Xcode 10.3-compatible version is available in 3.2 PL03, and an Xcode 11-beta5 compatible patch is amiable as 3.2 PL02. Note, that Xcode beta-compatible versions may not be fully supported, until the Xcode version is GA.
My point wrt ‘Swift 5’ is actually ‘Swift 5.1’, where the Swift community delivers *both* ABI *and* module stability. The public message from Apple is that from Xcode 11 GA (and Swift Language 5.1), we should get compatibility between frameworks compiled on different Xcode versions. This means that in theory, the frameworks compiled against Xcode 11.0 should be compatible with those from Xcode 11.1, etc., and vis versa.
For more information, please check out the Swift community documentation: https://swift.org/blog/abi-stability-and-more/.