I created my pod in Swift 3 and now I wanna migrate it to Swift 4.
I've already done the code migration in the Example project (I chose to create an example when running pod lib create
), but my podspec is still not passing validation.
One of the reasons is that the default cocoapods configuration is compiling it as Swift 3.
The other is that in order to update the dependencies to compile with Swift 4, I need to reference a specific branch, like RxSwift
, but I couldn't find a way to do that in the podspec.
How can I fix those problems?