Reputation: 2312
I believe the answer is no, but I wanted to be certain. Can you compile a swift 2.3 app that contains a swift 3.0 framework?
Upvotes: 4
Views: 1174
Reputation: 2459
The answer is no :/ As Apple said:
Swift 3 is the primary development language supported within Xcode 8 so there are a couple notes to consider if you chose to continue using Swift 2.3. First, Swift 2.3 and Swift 3 are not binary compatible so your app's entire code base needs to pick one version of Swift.
Source and more informations on the Apple Swift Blog.
You will have to choose between 2.3 and 3.0. If you can, I think the best idea is to move directly to 3.0 (since 2.3 is just a "transitory" version).
Upvotes: 8