I'm trying to migrate my Swift 3 project to Swift 4 in Xcode 9. After selecting target and choosing either of @obcj inference options, Xcode stuck on Generating preview
spinning wheel forever. How can I migrate my project?
On the same conversion dialog uncheck Remind me
checkbox and click Convert Later
. Now go to Build Settings
and change Swift Language Version
to Swift 4.0
. Most likely this will produce a lot of warnings or errors. Unfortunately you have to fix them manually.
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