Task: Look into using dynamic lib instead of static lib #30
Labels
help wanted
Extra attention is needed
tech
Something technical that doesn't fit a feature or enhancement
Projects
❕ Problem Statement
The MockServer used in this framework is built from a Rust codebase and is built into a static lib (.a). This means we end up with huge lib files (eg: the .a file for iOS is more than 100MB because it includes a slice for iOS simulator and iOS device). This means a lot of traffic on initial and subsequent MockServer updates pulls. That also means that the updated .a lives in GitHub LFS and each pull/push, and triggered GitHub Action eats into the Storage and Bandwidth quota. Far from ideal.
💬 Task Description
Because PactSwift should not be included in the App Store build, consider preparing dynamic libs to be used with test target.
It may require a different project setup at user end (for the ones already using it), but if we can reduce our size as a dependency, that's a good trade-off.
👩🔧 Technical Design Notes
Check if we can replace macOS static lib with a dynamic lib
Replacing iOS binary could be a separate concern
🤝 Relationships
The text was updated successfully, but these errors were encountered: