Xcode 10.2 comes with a Swift Migrator tool that helps you migrate your project to Swift 5. For the previous release’s Migration Guide, see Migrating to Swift 4.2. Pre-Migration Preparation Make sure that the project that you intend to migrate builds successfully in Swift 4 or Swift 4.2 mode, and all its tests pass. You may need to resolve errors initially due to compiler changes. It’s highly reco