Skip to content

Upgrading

Marko Justinek edited this page May 12, 2021 · 20 revisions

Changes in 0.4

Dropping Rust dependency. MockServer was moved into a separate project dependency PactSwiftMockServer and is exposed as a XCFramework in PactSwiftMockServer-Dist.

This means there is no need to make changes to the build process in the Xcode project settings.

SPM

  1. Remove the Build Phase that builds the libpact_mock_server.a binary using ./Scripts/BuildPhases/build-spm-dependency script.
  2. Remove $BUILD_DIR/../../SourcePackages/checkouts/.. entry for Library Search Paths in Build Settings.
  3. Optional: Remove cargo and rustup from PATH

Carthage

  1. Remove $(FRAMEWORK_SEARCH_PATHS) entry for Runpath Search Paths in Build Settings
  2. Remove $(PROJECT_DIR/Carthage/Build/iOS) entry for Framework Search Paths in Build Settings
Clone this wiki locally