Post

Replies

Boosts

Views

Activity

Code coverage generation fails on M1 Mac when excluding Arm64 architecture
Hi Everyone, our project has a few vendor libraries that don't support the M1 architecture when building for the simulator, so we have to exclude the arm64 arch in order to compile. However, when we do this, generating code coverage will fail for all targets with the following message: Failed to generate coverage for target 'UnitTests.app' at paths ("/Users/xxxx/Library/Developer/Xcode/DerivedData/UnitTests-dzyobvtkdsjkmlbzpenutqaqgbbl/Build/Products/Debug-iphonesimulator/UnitTests.app/UnitTests"): No object file for requested architecture Resulting in coverage data missing for our project. Has anyone else encountered this? Known issue? Any workarounds? Thanks in advance for any help.
12
0
6.1k
Mar ’21