Skip to content

Commit c4f2688

Browse files
committed
Add the x86_64-apple-ios target
1 parent 4b87947 commit c4f2688

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/ferric/src/cargo.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ import {
2121
const APPLE_XCFRAMEWORK_CHILDS_PER_TARGET: Record<AppleTargetName, string> = {
2222
"aarch64-apple-darwin": "macos-arm64_x86_64", // Universal
2323
"x86_64-apple-darwin": "macos-arm64_x86_64", // Universal
24+
2425
"aarch64-apple-ios": "ios-arm64",
25-
"aarch64-apple-ios-sim": "ios-arm64-simulator",
26+
"aarch64-apple-ios-sim": "ios-arm64_x86_64-simulator", // Universal
27+
"x86_64-apple-ios": "ios-arm64_x86_64-simulator", // Universal
28+
2629
// "aarch64-apple-ios-macabi": "", // Catalyst
2730
// "x86_64-apple-ios": "ios-x86_64",
2831
// "x86_64-apple-ios-macabi": "ios-x86_64-simulator",

packages/ferric/src/targets.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ export type AndroidTargetName = (typeof ANDROID_TARGETS)[number];
1616
export const APPLE_TARGETS = [
1717
"aarch64-apple-darwin",
1818
"x86_64-apple-darwin",
19+
1920
"aarch64-apple-ios",
2021
"aarch64-apple-ios-sim",
22+
"x86_64-apple-ios", // Simulator (despite the missing -sim suffix)
23+
2124
// "aarch64-apple-ios-macabi", // Catalyst
22-
// "x86_64-apple-ios",
2325
// "x86_64-apple-ios-macabi", // Catalyst
2426

2527
// TODO: Re-enabled these when we know how to install them 🙈

0 commit comments

Comments
 (0)