Skip to content

A Swift wrapper around `libpact_ffi` and exposed as XCFramework

License

Notifications You must be signed in to change notification settings

surpher/PactSwiftMockServer

Repository files navigation

PactSwiftMockServer

Build and Test MIT License codecov

Warning

This repository is under heavy development! There are no guarantees or warranty of any kind!

A wrapper around libpact_ffi.a binary and exposed as XCFramework to be primarily used by PactSwift.

This repository contains the source code, scripts and tools required to generate a PactSwiftMockServer.xcframework binary package. It is referenced and set as a dependency in PactSwift swift package.

See LICENSE.md for licensing information.

Important

The libpact_ffi.a binaries for the supported architectures add up to >200MB with each new built version. Because of this the repository size blew up to unsustainable levels.

Compiling source code found in this repo and artifacts built from submodules into an XCFramework, zipping it up, and shared as a binary target with checksum is currently the only way to keep the payload at ~90MB per package resolve.