Skip to content
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

Enable arm64-simulator slice creation in XCFramework by Carthage #107

Open
wants to merge 1 commit into
base: swift-5
Choose a base branch
from
Open

Enable arm64-simulator slice creation in XCFramework by Carthage #107

wants to merge 1 commit into from

Conversation

Gucky
Copy link

@Gucky Gucky commented Feb 14, 2021

Carthage didn't create an ARM64 slice for simulators because the xcconfig file did specify which VALID_ARCHS should be build. Removing that specification did enable Carthage to build a slice for ARM64-simulator.
That was a huge problem because on M1/Apple Silicon machines generation of code coverage reports for tests is only possible when running an ARM64 app in the simulator. Without this change one could explore ARM for simulators and only run on x64 but loose code coverage with that trick.
VALID_ARCHS is outdated and no longer available/visible in current Xcode versions anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant