Use Swift Package Manager with Xcode#672
Use Swift Package Manager with Xcode#672tonyarnold wants to merge 4 commits intoDeclarativeHub:masterfrom
Conversation
This requires that Xcode 11 or greater is used.
|
Not sure if you'd like to remove the I considered adding GitHub Actions support, too, but I think that can wait for a future PR. |
|
Thanks @tonyarnold for working on this! There is one issue though.... With this change, when using Carthage to integrate Bond, during Carthage build process, Bond will be built against ReactiveKit and Differ resolved by SPM, not by Carthage. It means that ReactiveKit and Differ will be statically linked into the Bond dynamic library, which is incompatible with the Carthage flow. I'm not sure if there is a way around that... Regarding Swift Source Compatibility Suite, I suggest that we add only ReactiveKit for now. It would get us moving, and we can solve Bond's problem later if possible. |
Ah, yes. You are correct, and this is a big issue for Carthage users 😦
Good call. I'll reduce that PR's scope now. |
This PR proposes to update our Xcode project to use Swift Packages, rather than Carthage-compiled frameworks. This has a few knock-on effects:
I've also raised the Swift tools version to Swift 5.1. It's not required, but it's implied by requiring Xcode 11.