Conversation
|
I'm facing issues with this PR when using Xcode 13:
Not sure if this is a real issue moving forward, but not everyone or every CI env has migrated to Xcode 14 yet. |
|
@jccr I don’t think I’m using any 5.2-specific features, that’s just the version I used to create |
Yes. It does work for me if that change is made 👍 |
|
@jccr I’ve updated the PR to require Swift 5.1 instead. |
|
@SlaunchaMan, @jccr how can I test this in my Package.swift? |
|
Here’s my |
|
Thanks for sending this PR: this is a rather large change I don’t feel comfortable merging at this time. GCDWebServer is used by a lot of apps so only small and low-risk change make it these days. |
This PR enables GCDWebServer to be used as a Swift package. It required me to create the
GCDWebServer/includedirectory with an umbrella header and symlinks to all of the public headers, as well as defining aSWIFT_PACKAGEbuild macro to change the imported paths to be relative to one another. But, using this, I am able to use SPM to import GCDWebServer into a test target and run a server in my Swift package’s tests!