Page MenuHomePhabricator

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

Authored by atul on Jul 25 2022, 9:01 AM.
Tags
None
Referenced Files
F2205774: D4622.id14992.diff
Sat, Jul 6, 11:22 PM
F2205772: D4622.id14982.diff
Sat, Jul 6, 11:22 PM
F2205771: D4622.id14870.diff
Sat, Jul 6, 11:22 PM
F2205766: D4622.id.diff
Sat, Jul 6, 11:22 PM
F2205765: D4622.diff
Sat, Jul 6, 11:22 PM
Unknown Object (File)
Sat, Jul 6, 9:52 AM
Unknown Object (File)
Fri, Jul 5, 2:34 AM
Unknown Object (File)
Thu, Jul 4, 10:28 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
No Lint Coverage
Unit
No Test Coverage

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.