[swift-users] Migrating to Swift 3 using Xcode fails
owenzx at gmail.com
Thu Sep 8 18:47:45 CDT 2016
I think you can just use Xcode's tool that you upgrade to Swift 3.0.
However, I suggest you do a backup of your project first in case this is
Also, the errors you saw were probably not because of Xcode converted you
code to 2.3 automatically. It wouldn't do that. The real reason is that in
Xcode 6 beta6, a lot of Swift 3.0 accepted proposals were implemented and
released, which made the Swift 3.0 far more different from the previous
Xcode's migration tool is closed sourced and is not part of Swift. If you
have further questions, I suggest you to ask it in Apple's developer forum.
On Fri, Sep 9, 2016 at 5:01 AM, Saagar Jha via swift-users <
swift-users at swift.org> wrote:
> I’ve migrated one of my projects to Swift 3 previously, with an earlier
> beta of Xcode. However, after downloading the GM seed, hundreds of errors
> pop up in my code, since it appears that Xcode has somehow reverted the
> compiler back to 2.3. Manually migrating using Edit>Convert>To Current
> Swift Syntax… always fails, due to the fact that the code had been
> previously migrated. Is there any way to “manually” migrate the code (i.e.
> change the compiler settings?)
> Saagar Jha
> swift-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users