CleanroomLogger icon indicating copy to clipboard operation
CleanroomLogger copied to clipboard

Enable arm64-simulator slice creation in XCFramework by Carthage

Open Gucky opened this issue 4 years ago • 0 comments

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.

Gucky avatar Feb 14 '21 21:02 Gucky