Closed vivekthambikannu closed 2 years ago
Wrong framework. If you're using pact-consumer-swift
then you should share the environment set up and what you've tried already here.
PactSwift
will not work with an external Pact Mock Service. The PactSwift.MockService.run
's completion block will give you the url String
to point your API client to.
Hi, I am using pact consumer in my project, real time device only able to run my project unable to run in simulator. Initially I use pactswift, after facing this issue i changed pact consumer
my local ip address is = 120.138.12.180, iam getting this error failed - Error setting up pact: The request timed out. failed - Verification error (check build log for mismatches): The request timed out. My code let verificationService = PactVerificationService(url: "http://120.138.12.180/", port: 1234) mockService = MockService(provider: "Provider", consumer: "iOS", pactVerificationService: verificationService)