Post

Replies

Boosts

Views

Activity

Comment on Code coverage generation fails on M1 Mac when excluding Arm64 architecture
Sorry but you've not fixed it, you've found a workaround by running Xcode under Rosetta x86_64 emulation mode. This means Xcode will be very slow to build and use in general. If you want to generate a one-off code coverage report without running the whole of Xcode under Rosetta, you could use arch -x86_64 xcodebuild test -scheme {MyApp}-Package -destinationplatform="macOS" -enableCodeCoverage YES and then open the resulting xcresult file which will be added to Xcode's "Report Navigator".
Jun ’21
Comment on Code coverage generation fails on M1 Mac when excluding Arm64 architecture
Sorry but you've not fixed it, you've found a workaround by running Xcode under Rosetta x86_64 emulation mode. This means Xcode will be very slow to build and use in general. If you want to generate a one-off code coverage report without running the whole of Xcode under Rosetta, you could use arch -x86_64 xcodebuild test -scheme {MyApp}-Package -destinationplatform="macOS" -enableCodeCoverage YES and then open the resulting xcresult file which will be added to Xcode's "Report Navigator".
Replies
Boosts
Views
Activity
Jun ’21
Comment on Fix actor-isolated class is different from nonisolated subclass error
That makes sense, thank you!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’24