[swift-users] Can Swift 2.3 frameworks be used with a Swift 3.0 app?
Ted Bradley
ted.bradley at hudl.com
Mon Jun 27 09:04:20 CDT 2016
So does that mean then that Swift 2.3 and Swift 3.0 can interoperate?
E.g.
iOS Target ‘Foo’, imports a custom Framework ‘Bar’
Foo is Swift 3.0
Bar is Swift 2.3
From: zh ao <owenzx at gmail.com>
Date: Monday, 27 June 2016 at 14:34
To: Ted Bradley <ted.bradley at hudl.com>
Cc: "swift-users at swift.org" <swift-users at swift.org>
Subject: Re: [swift-users] Can Swift 2.3 frameworks be used with a Swift 3.0 app?
You need to wait until they are promised to work with 2.3 or 3.0. If you can get the source code, you can use migration tool and compile the framework yourself.
Zhaoxin
On Mon, Jun 27, 2016 at 6:29 PM, Ted Bradley via swift-users <swift-users at swift.org<mailto:swift-users at swift.org>> wrote:
Ah, I wasn’t being clear :)
I meant user created frameworks. Such as you would get manually or via Carthage / Cocoapods. Could those be migrated to Swift 2.3, whilst your main target is migrated to Swift 3.0?
As a temporary stop-gap of course.
From: zh ao <owenzx at gmail.com<mailto:owenzx at gmail.com>>
Date: Monday, 27 June 2016 at 11:27
To: Ted Bradley <ted.bradley at hudl.com<mailto:ted.bradley at hudl.com>>
Cc: "swift-users at swift.org<mailto:swift-users at swift.org>" <swift-users at swift.org<mailto:swift-users at swift.org>>
Subject: Re: [swift-users] Can Swift 2.3 frameworks be used with a Swift 3.0 app?
I don't know which frameworks you talking about. The Foundation framework is definitely different. But Cocoa and Cocoa Touch should be the same.
Zhaoxin
On Mon, Jun 27, 2016 at 6:04 PM, Ted Bradley via swift-users <swift-users at swift.org<mailto:swift-users at swift.org>> wrote:
Can Swift 2.3 frameworks be used with a Swift 3.0 target app?
From what I’m reading in the documentation, it seems like everything needs to be either all Swift 2.3 or all Swift 3.0 – no mix and matching.
Unfortunately, the beta has been pretty unstable on my system so I’ve not managed to get enough time to test this out yet. Appreciate hearing from anyone who knows definitively or has tried this.
_______________________________________________
swift-users mailing list
swift-users at swift.org<mailto:swift-users at swift.org>
https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________
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/20160627/6a5fb7bc/attachment.html>
More information about the swift-users
mailing list