[SR-11704] Swift 5.1.2 (Xcode 11.2) cannot import framework that have swiftinterface built on Swift 5.1 (Xcode 11.1) #54112
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
library evolution
Feature: library evolution (umbrella feature for features that facilitate resilient libraries)
Environment
macOS 10.14.6
Xcode 11.1 (11A1027) and 11.2 (11B52)
Additional Detail from JIRA
md5: f1ed38a9dc02b014c38a882d29cd14c2
Issue Description:
I built framework with `BUILD_LIBRARY_FOR_DISTRIBUTION` parameter to support module stability on Swift 5.1.
But in Swift 5.1.2, cannot import that framework with below errors in swiftinterface file.
Failed to load module 'Eureka'
Unknown attribute '_staticInitializeObjCMetadata'
Redundant conformance of 'AreaRow<Cell>' to protocol 'FormatterConformance'
Reproducible project
https://github.com/r-plus/modulestabilitytest
The text was updated successfully, but these errors were encountered: