[swift-users] Migrating to Swift 3 using Xcode fails

Stanislav Smida s at svagant.com
Sat Sep 24 13:48:33 CDT 2016

Hi Saagar,

It might not be your case but if you are getting "No source changes necessary - Click Update to change your target's build settings to use the latest Swift syntax.” message, it might have nothing to do with wrong compiler version. Due to my experiences it looks like generating preview of changes runs build process that fails on code signing. The message in this case can be misleading (I consider it a bug) but try to set your provisioning profiles correctly for both build configurations (make sure certificates are valid) and give it another try (Edit > Convert > To Current Swift Syntax…).


> On 08 Sep 2016, at 23:01, Saagar Jha via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
> Hi,
> 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?)
> Thanks,
> Saagar Jha
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org <mailto:swift-users at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160924/d6a58b61/attachment.html>

More information about the swift-users mailing list