Given that Swift version 2 breaks some of the apis - is it possible to select which version the compiler targets?
It is not possible to select which version the compiler targets. If you want to use swift 1.2 then don't use xcode 7, stick to xcode 6.3
In case you want to use xcode 7, then you can migrate all your previous code to Swift 2 by going to Edit > Convert > To Latest Swift Syntax, it will help find many of the changes. However, you will still need to do a lot of manual editing.
I strongly recommend that you keep a backup of your project before migrating.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With