surpher/PactSwift

Task: Automate building the `libpact_mock_server.a` binary

surpher opened this issue · 1 comments

❕ Problem Statement

libpact_mock_server.a for iOS and macOS in ./Resources are built from Rust codebase. Rust codebase is under active development and new versions with bug fixes are released on master quite regularly. libpact_mock_server.a should be up to date as much as possible and an automated script would help.

💬 Task Description

Create an automated script that builds and replaces the binaries in PactSwift/Resources/#platform#.

👩‍🔧 Technical Design Notes

Some helpful resources can be found here https://gist.github.com/surpher/bbf88e191e9d1f01ab2e2bbb85f9b528

🤝 Relationships

  • Other Related Issues: #27, #30

This is no longer necessary as we're moving towards building and using a dylib, and using pact-reference/rust as a Submodule in PactSwift.