DiUS / pact-consumer-swift

A Swift / ObjeciveC DSL for creating pacts.
MIT License
98 stars 43 forks source link

pact.io framework is not building with Xcode 11.4 #91

Closed mmysliwiec closed 4 years ago

mmysliwiec commented 4 years ago

Both Carthage and Xcode (11.4) can't build the current 0.8.0 version of pact-consumer-swift framework. I can see linker issues:

ld: warning: Could not find or use auto-linked library 'XCTestSwiftSupport'
ld: warning: Could not find or use auto-linked framework 'XCTest'
surpher commented 4 years ago

I was looking into this last week already but have had little luck so far. From what I have found from across the internet is this looks like an SPM issue.

I'll keep looking for a solution though.

coloverde commented 4 years ago

I just discovered the exact same issue. It also occurs with previous versions of pact-consumer-swift.

marc-48k commented 4 years ago

The fix is to set ENABLE_TESTING_SEARCH_PATHS to true.

surpher commented 4 years ago

Thanks @marc-48k ! Seems like it could be a winner here. I'm just looking into the "supported" environments matrix to see if it will stick 👍

mmysliwiec commented 4 years ago

@andrewspinks When we can expect a release with this fix? It's kind of important now :-).

andrewspinks commented 4 years ago

@mmysliwiec 0.8.1 has now been released.