No, this is not possible. All of the code in a single process needs to be 
compiled with the same version of Swift.

 - Daniel

> On Jun 27, 2016, at 7:04 AM, Ted Bradley via swift-users 
> <swift-users@swift.org> wrote:
> 
> 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 <owe...@gmail.com>
> Date: Monday, 27 June 2016 at 14:34
> To: Ted Bradley <ted.brad...@hudl.com>
> Cc: "swift-users@swift.org" <swift-users@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@swift.org <mailto:swift-users@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 <owe...@gmail.com <mailto:owe...@gmail.com>>
> Date: Monday, 27 June 2016 at 11:27
> To: Ted Bradley <ted.brad...@hudl.com <mailto:ted.brad...@hudl.com>>
> Cc: "swift-users@swift.org <mailto:swift-users@swift.org>" 
> <swift-users@swift.org <mailto:swift-users@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@swift.org <mailto:swift-users@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@swift.org <mailto:swift-users@swift.org>
> https://lists.swift.org/mailman/listinfo/swift-users 
> <https://lists.swift.org/mailman/listinfo/swift-users>
>  
> 
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org <mailto:swift-users@swift.org>
> https://lists.swift.org/mailman/listinfo/swift-users 
> <https://lists.swift.org/mailman/listinfo/swift-users>
>  
> _______________________________________________
> 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

Reply via email to