datatheorem / TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.
MIT License
2.02k stars 364 forks source link

[Feature] Add Apple Silicon / XCFramework support #282

Open hokstuff opened 2 years ago

hokstuff commented 2 years ago

TrustKit is currently only distributed via a .framework file, which is old, limited format and doesn't support running on simulators of Apple Silicon Macs.

By distributing the artifacts as XCFrameworks, it will allow Trustkit to contain both slices of the arm64 architecture (one for iPhones, and one for Apple Silicon simulators). Once implemented, it will support more than a single arm64 slice, which will allow it to be run on simulators of Apple Silicon devices.

markph0204 commented 1 year ago

Please consider #304 to resolve this issue.