![]() However, to replace these from your dependencies, you’re dependent on code changes in the external framework. This could mean that you’ve got quite a view enums which are not needed anymore. A lot of frameworks have included a Result type in their code. It does not take into account the new Result type which is now included in the Swift standard library. The Xcode converter only executes basic code changes. If you’re using Travis, Jenkins or any other CI platform you need to upgrade Xcode there as well. Your test will cover these updates directly as well, which can be a win-win. If you’re planning to do a full intensive test of your app after this migration, it might be worth to directly update your dependencies as well. At WeTransfer we’re often checking in with our dependencies to see whether an update is available already. Although I would like to encourage you to do the migration and submit a pull request yourself, you probably have to wait a bit till the project owners did it themselves. However, it’s likely that not all your dependencies are up to date already. A lot of the bigger open source projects like Alamofire and Moya started working on a Swift 5.0 version already. Most likely, you’ve got some Swift dependencies you need to update. ![]() Automated migration to Swift 5.0 using the built-in Xcode converter Updating dependencies
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |