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

Swift Package Manager package stopped working after Xcode 11.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Package Manager
    • Labels:
      None
    • Environment:

      Description

      I have two different and similar issues with SPM that seem to be a regression which renders SPM unusable for our project consumers.

      A project I'm maintaining, RxSwift, is not working for consumers using SPM in basically any scenario since Xcode 11.3 and the Swift version attached to it (I believe 5.1)

      When running in Xcode using the built-in dependency manager, using either a dynamic or static product from RxSwifit doesn't work (see attached reproduction RxSPM.zip and RxSPMDynamic.zip). They build, but crash as soon as you run the unit test (or sometimes even the project itself).

      This is the static setup, but the dynamic one has the same associations:

      I also tried running in CLI mode (e.g. making a Package.swift manually), which works fine with static, but crashes in the same way for a dynamic product (see attached RxSPMCLI.zip).

      Would appreciate your help on this

      Thanks,
      Shai.

        Attachments

        1. image-2020-03-01-21-24-57-440.png
          image-2020-03-01-21-24-57-440.png
          173 kB
        2. rxspm.zip
          36 kB
        3. RxSPMCLI.zip
          5 kB
        4. RxSPM-Dynamic.zip
          37 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            freak4pc Shai Mishali
            Votes:
            14 Vote for this issue
            Watchers:
            16 Start watching this issue

              Dates

              Created:
              Updated: