Skip to content

Task: Expose XCFramework with arm64-sim slice #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
surpher opened this issue Jun 16, 2021 · 1 comment
Closed

Task: Expose XCFramework with arm64-sim slice #3

surpher opened this issue Jun 16, 2021 · 1 comment
Assignees
Labels

Comments

@surpher
Copy link
Owner

surpher commented Jun 16, 2021

❕ Problem Statement

Currently, the exposed XCFramework supports the following architectures:

  • x86_64-darwin
  • arm64-darwin
  • x86_64-ios (simulator)
  • arm64-ios (physical device)

When using PactSwiftMockServer to run on an iOS Simulator running on arm64-darwin (Apple M1 chip), it might fail due to missing platform support.

💬 Task Description

  • Build libpact_mock_server.a using aarch64-apple-ios-sim cargo triple.
  • When creating XCFramework archive for -arch arm64 when archiving for simulator

👩‍🔧 Technical Design Notes

cargo +nightly build -Z build-std --target aarch64-apple-ios-sim

🤝 Relationships

@surpher surpher added the task label Jun 16, 2021
@surpher surpher self-assigned this Jul 15, 2021
@surpher
Copy link
Owner Author

surpher commented Jul 15, 2021

arm64-sim is being supported since fb81488.

@surpher surpher closed this as completed Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant