Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[community triplet] Add
arm64-ios-simulator
triplet (#37054)
This adds an `arm64-ios-simulator` triplet, which is largely identical to the existing `arm64-ios` triplet, but adds ```cmake set(VCPKG_OSX_SYSROOT iphonesimulator) ``` Xcode/Clang unfortunately refuses to link `arm64-ios`-built libraries when linking for the iOS simulator, since it considers the simulator to be a different platform, thus requiring a new triplet. > Side note: The motivation for not naming this triplet `arm64-iphonesimulator` or similar is to be consistent with the naming of other iOS triplets and to keep build infrastructure that matches on `ios` triplets intact. There is precedent for this hyphenated naming scheme, the Rust compiler names the triplet `aarch64-apple-ios-sim`. I went with the spelled out `simulator` here, since it feels more descriptive.
- Loading branch information