Bhavin Kapadia
04/20/2022, 10:00 PMCould not find module 'PactSwift' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios, at: / path of pactswift module …also, when im not getting this error the pact test runs but console output mentions that PactSwiftMockServer could not be found? Im using cartfile github "surpher/PactSwift" ~> 0.12Marko (IttyBittyApps / pact-swift)
04/20/2022, 10:05 PMPactSwift dependency through carthage command?
I’m suspecting you’re not using --use-xcframeworks ?Bhavin Kapadia
04/21/2022, 5:08 PMBhavin Kapadia
04/21/2022, 5:08 PMcarthage update PactSwift --no-use-binaries --use-ssh --use-xcframeworksMarko (IttyBittyApps / pact-swift)
04/21/2022, 9:41 PMBhavin Kapadia
04/22/2022, 4:00 PMLibrary not loaded: @rpath/PactSwiftMockServer.framework/PactSwiftMockServer although when running carthage i do see that the package is resolved:
PactSwiftMockServer: <https://github.com/surpher/PactSwiftMockServer.git> @ 0.3.5Marko (IttyBittyApps / pact-swift)
04/22/2022, 8:32 PM../Carthage/Build and ../Carthage/Build/iOS and try using the script again?Marko (IttyBittyApps / pact-swift)
04/27/2022, 10:38 PMcarthage for this where it’s failing to copy transient binaries (which PactSwiftMockServer is). It seems it started occurring with Xcode 13.2 (or maybe 13.1?). I can not reproduce this using an Intel machine running Xcode 13.0. There is an open issue on carthage github project indicating binaries are not copied. PactSwiftMockServer is a binary package (xcframework) being vended to PactSwift project through SPM. Perhaps that’s where things go astray? Looking at carthage logs there doesn’t seem to be anything wrong.Marko (IttyBittyApps / pact-swift)
04/27/2022, 10:39 PMMarko (IttyBittyApps / pact-swift)
04/28/2022, 2:45 AMMarko (IttyBittyApps / pact-swift)
05/13/2022, 7:28 AMgithub "surpher/PactSwift" "main"