Xcode is stuck Generating Previews after trying to migrate my project from Swift 2.3
to Swift 3
.
Is there anyway to check the status of this process without cancelling?
I'm using Cocoapods and I've already changed all of the Swift pods to Swift 3
versions.
For people that are still stuck at "Generating Preview". Check if you have any class names defined that clashes with the (new) public api in Swift 3.
E.g. I had an 'Error.swift' class, which I had to rename. Since all 'NS' prefixes are being removed, this would cause the converter to keep running without providing us an error message.
There is a workaround for this problem with which you can at least complete the process and start working on migration.
Select targets to convert as usual
Wait until the converter gets stuck
Open Activity Monitor and kill the swift process
Now the converter will continue and finish the work.
Running migration from the command line worked for me. Try using this script:
https://gist.github.com/davidahouse/18dd78bef7ae543117c396f8c950ccfe
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