IBM MobileFirst Foundation 8.0 Support for Swift 3.0

Starting with iFix 8.0.0.0-IF20170125-0919 for MobileFirst Foundation 8.0, we now support Swift 3.0 for iOS application development. If you are an on-premise 8.0 customer or Mobile Foundation service customer, then read further to learn how to update the SDK and move to Swift 3.0.

To update the SDK:

  1. From Terminal, navigate to the Xcode project’s root folder.
  2. Run the command: pod update
  3. Open the Xcode project and re-build it.

Note: The Swift Migration assistant for Swift 3.0 modifies several API method signatures belonging to the iOS SDK. To prevent syntax errors, be sure to first update the iOS SDK and only then migrate to Swift 3.0.

The update to the iOS SDK makes sure that the following APIs will not break during the Swift Migration assistant’s migration process:

  • registerChallengeHandler
  • sendUrlRequest
  • canHandleResponse

Update: We now claim support for Swift 3.0 for MobileFirst platform v6.3 to v7.1 without any changes to API naming.All the features of IBM MobileFirst Platform v6.3 to v7.1 work as expected. Existing apps when upgraded to Swift 3.0 work seamlessly.

Limitation: Live Update SDK is not yet tested for Swift 3.x. Please watch this space for upcoming fixes in Live Update SDK, samples and tutorials related to Swift 3 support .

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on May 07, 2018