Page MenuHomePhabricator

[iOS] Exclude `arm64` Simulator architecture for `CommTests`
ClosedPublic

Authored by atul on Jul 25 2022, 9:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 9:57 PM
Unknown Object (File)
Thu, Dec 19, 9:57 PM
Unknown Object (File)
Thu, Dec 19, 9:57 PM
Unknown Object (File)
Thu, Dec 19, 9:55 PM
Unknown Object (File)
Sun, Dec 15, 4:51 PM
Unknown Object (File)
Sun, Dec 15, 4:51 PM
Unknown Object (File)
Sun, Dec 15, 4:51 PM
Unknown Object (File)
Sun, Dec 15, 4:50 PM
Subscribers

Details

Summary

Exclude arm64 architecture for iOS Simulator.. matching what we have for the Comm target.

Allows us to run XCTests on Apple silicon machines.

Test Plan

Ran CryptoTests from Xcode GUI and from commandline:

xcodebuild test -workspace Comm.xcworkspace -scheme Comm -destination name="iPhone 13"

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Adding @ashoat as first pass reviewer since he has context on why we excluded arm64 for iOS Simulator for Comm target.

Adding @karol as a reviewer since he initially wrote CryptoTests.

atul requested review of this revision.Jul 25 2022, 9:14 AM

Ugh yeah, I think we need this because ffmpeg or some other dependency can't handle running on arm64

This revision is now accepted and ready to land.Jul 25 2022, 11:24 AM

rebase after cherrypicking and before landing

Should've included this in Test Plan, but:

xcodebuild test -workspace Comm.xcworkspace -scheme Comm -destination name="iPhone 13"

to run the tests from command line.