[Swift 3.0 Preview] Can't Convert to Latest Swift Syntax

Hi all,

I want to start testing Swift 3.0 in one of my projects. However code
conversion seems not to be supported "The active toolchain, “Swift 3.0
Preview 1 Snapshot 2016-05-31 (a)”, does not have a Swift converter.".

is it planned to have it included soon? any workarounds to have automatic
conversion today?

Cheers,
Diego

The Swift migrator as used in Xcode 7.3 is not open-source, so it’s not included in the downloadable toolchains. I’m afraid you’ll have to migrate your project by hand at this point. The compiler should give you some help in its diagnostics, at least.

Apologies,
Jordan

···

On Jun 1, 2016, at 10:34, Diego Sánchez via swift-users <swift-users@swift.org> wrote:

Hi all,

I want to start testing Swift 3.0 in one of my projects. However code conversion seems not to be supported "The active toolchain, “Swift 3.0 Preview 1 Snapshot 2016-05-31 (a)”, does not have a Swift converter.".

is it planned to have it included soon? any workarounds to have automatic conversion today?

Cheers,
Diego
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

I really need to do a regular open source clinic post: send in up to 30 or 40 standalone lines that compile under 2.2 and won't under 3, with a description of expected behavior and test cases.

You can reach out for help on irc.freenode.net in #swift-lang, there are several peer-support slack channels, there are the developer forum message boards for specific questions, and I'm sure I'm missing some other resources you might want to look into.

Don't forget to check out the change list, which is posted here: https://github.com/apple/swift/blob/master/CHANGELOG.md

And peek at the proposals that are affecting the language evolution:

If a proposal is deferred or rejected, you can ignore it.

-- Erica

···

On Jun 1, 2016, at 6:32 PM, Jordan Rose via swift-users <swift-users@swift.org> wrote:

The Swift migrator as used in Xcode 7.3 is not open-source, so it’s not included in the downloadable toolchains. I’m afraid you’ll have to migrate your project by hand at this point. The compiler should give you some help in its diagnostics, at least.

Apologies,
Jordan

On Jun 1, 2016, at 10:34, Diego Sánchez via swift-users <swift-users@swift.org> wrote:

Hi all,

I want to start testing Swift 3.0 in one of my projects. However code conversion seems not to be supported "The active toolchain, “Swift 3.0 Preview 1 Snapshot 2016-05-31 (a)”, does not have a Swift converter.".

is it planned to have it included soon? any workarounds to have automatic conversion today?

Cheers,
Diego
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

WWDC is 1½ weeks away, and it’s extremely likely Apple will release an Xcode beta with support for Swift 3, including a migrator.

—Jens

···

On Jun 1, 2016, at 5:32 PM, Jordan Rose via swift-users <swift-users@swift.org> wrote:

The Swift migrator as used in Xcode 7.3 is not open-source, so it’s not included in the downloadable toolchains. I’m afraid you’ll have to migrate your project by hand at this point. The compiler should give you some help in its diagnostics, at least.

Thanks both for answering. I can perfectly do the process manually but it's quite time consuming...

I just wanted to know whether I can count on the "convert to latest swift syntax" at some point in the future or start assuming it'll be a manual process (yes with fix-it support).

···

On 2 Jun 2016, at 3:12 am, Erica Sadun <erica@ericasadun.com> wrote:

I really need to do a regular open source clinic post: send in up to 30 or 40 standalone lines that compile under 2.2 and won't under 3, with a description of expected behavior and test cases.

You can reach out for help on irc.freenode.net in #swift-lang, there are several peer-support slack channels, there are the developer forum message boards for specific questions, and I'm sure I'm missing some other resources you might want to look into.

Don't forget to check out the change list, which is posted here: https://github.com/apple/swift/blob/master/CHANGELOG.md

And peek at the proposals that are affecting the language evolution:
https://github.com/apple/swift-evolution/tree/master/proposals

If a proposal is deferred or rejected, you can ignore it.

-- Erica

On Jun 1, 2016, at 6:32 PM, Jordan Rose via swift-users <swift-users@swift.org> wrote:

The Swift migrator as used in Xcode 7.3 is not open-source, so it’s not included in the downloadable toolchains. I’m afraid you’ll have to migrate your project by hand at this point. The compiler should give you some help in its diagnostics, at least.

Apologies,
Jordan

On Jun 1, 2016, at 10:34, Diego Sánchez via swift-users <swift-users@swift.org> wrote:

Hi all,

I want to start testing Swift 3.0 in one of my projects. However code conversion seems not to be supported "The active toolchain, “Swift 3.0 Preview 1 Snapshot 2016-05-31 (a)”, does not have a Swift converter.".

is it planned to have it included soon? any workarounds to have automatic conversion today?

Cheers,
Diego
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users