Uploaded image for project: 'Swift'
  1. Swift
  2. SR-11704

Swift 5.1.2 (Xcode 11.2) cannot import framework that have swiftinterface built on Swift 5.1 (Xcode 11.1)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Environment:

      macOS 10.14.6

      Xcode 11.1 (11A1027) and 11.2 (11B52)

      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

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            taiki komaba taiki komaba
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated: