Skip to content

Commit 67c5675

Browse files
Adrian Ibañezclaude
andcommitted
fix: use iOS OTP target for visionOS builds
OTP's config.sub doesn't recognize xros yet. Using iOS target (aarch64-apple-ios) works since the actual SDK flags still target the visionOS platform via xcrun -sdk xros. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 474dd3a commit 67c5675

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/config/apple-platforms.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"base_arch": "xros",
6666
"openssl_prefix": "_build/ios-openssl/build/openssl.xros",
6767
"openssl_arch": "xros-xcrun",
68-
"otp_arch": "aarch64-apple-xros",
68+
"otp_arch": "aarch64-apple-ios",
6969
"rust_target": "aarch64-apple-visionos"
7070
},
7171
{
@@ -76,7 +76,7 @@
7676
"base_arch": "xrossim",
7777
"openssl_prefix": "_build/ios-openssl/build/openssl.xrossim.arm64",
7878
"openssl_arch": "xrossimulator-xcrun",
79-
"otp_arch": "aarch64-apple-xrossimulator",
79+
"otp_arch": "aarch64-apple-iossimulator",
8080
"rust_target": "aarch64-apple-visionos-sim"
8181
}
8282
]

0 commit comments

Comments
 (0)