Page MenuHomePhabricator

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

Authored by atul on Jul 25 2022, 9:01 AM.
Tags
None
Referenced Files
F2189649: D4622.id14870.diff
Thu, Jul 4, 10:56 AM
Unknown Object (File)
Sun, Jun 30, 10:37 PM
Unknown Object (File)
Fri, Jun 21, 4:45 PM
Unknown Object (File)
Fri, Jun 21, 4:45 PM
Unknown Object (File)
Fri, Jun 21, 4:45 PM
Unknown Object (File)
Fri, Jun 21, 4:44 PM
Unknown Object (File)
Fri, Jun 21, 4:37 PM
Unknown Object (File)
Fri, Jun 14, 5:33 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.