Let's start by existing questions,
Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.2 compiler
Module compiled with Swift 5.1 cannot be imported by the Swift 5.0 compiler
Module compiled with Swift 5.1.2 cannot be imported by the Swift 5.2.4 compiler
And, now with XCode 12(12A7209)
Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3 compiler
The framework was compiled in the lower version of Swift (Swift 5.2.4). However, it worked perfectly with XCode 12 beta.
Solution tried:
- Setting
Build Libraries for Distribution
toYes
- Shipping Binary Frameworks With Swift 5.0
Whole point is the Swift ABI stability for binary framework and how to achieve it across different swift version.
Please advice. Thank you in advance!
from Swift ABI stability: Module compiled with Swift X.Y cannot be imported by the Swift X.Z compiler
No comments:
Post a Comment