-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Previous ID | SR-12303 |
Radar | rdar://problem/59976659 |
Original Reporter | freak4pc (JIRA User) |
Type | Bug |
Attachment: Download
Environment
Xcode Env:
Swift 5.1.3
Xcode 11.3 / 11.4b2
Dependency is RxSwift 5.0.1 (Default product type which should be static)
CLI Env:
ZSH
Swift 5.1.3
CLI Only (Package.swift)
Dependency is RxSwift 5.0.1 (Specific branch altered to have all products dynamic)
Additional Detail from JIRA
Votes | 50 |
Component/s | Package Manager |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: 5bf2f37058917142c656b336ed4f560c
Issue 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.