PactSwift doesn't build on CI with SPM #83
Labels
bug
Something isn't working
enhancement
New feature or request
tech
Something technical that doesn't fit a feature or enhancement
🗣 Context
Hi there,
We're running into a known issue with XCode 13 and PactSwift when installed via SPM on our CI. (Strangely enough this works fine when building locally).
💬 Narrative
When I install PactSwift as a package dependency, when compiling, the build complains that it can't import module PactSwiftMockServer.
I'm guessing that this is the known issue in xcode 13 described in the release notes:
Using Swift packages with binary targets may result in a “no such module” error when attempting to import the module of a binary target. (77465707)
In order to resolve we have temporarily built PactSwift as an xcframework and linked it manually, but obviously this is less than ideal.
Would it be possible to include PactSwiftMockServer so it is not a SPM dependency?
Obviously we have a workaround so this is not urgent, and it may get fixed in an upcoming xcode. I just wanted to make you aware.
Thank you!
The text was updated successfully, but these errors were encountered: