Skip to content

version 'sim' in target triple 'aarch64-apple-ios-sim' is invalid #3181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HackerFoo opened this issue Apr 1, 2025 · 4 comments · Fixed by #3182
Closed

version 'sim' in target triple 'aarch64-apple-ios-sim' is invalid #3181

HackerFoo opened this issue Apr 1, 2025 · 4 comments · Fixed by #3182

Comments

@HackerFoo
Copy link
Contributor

Apple's clang 17 doesn't seem to accept arm64-apple-ios-sim anymore, it requires arm64-apple-ios-simulator, causing errors such as:

unable to generate bindings: ClangDiagnostic("error: version 'sim' in target triple 'aarch64-apple-ios-sim' is invalid\n")
@orcun
Copy link

orcun commented Apr 15, 2025

@emilio is there a release schedule for this to be included? Downloading old versions of Xcode will not be an ideal solution for adoption of projects where the dependencies are waiting to be updated. I was hoping to just patch the dependency in cargo.

@justsmth
Copy link
Contributor

@emilio @pvdrz -- are there plans to publish a release any time soon? This seems to be affecting consumers of aws-lc-rs as well. If not, is there a workaround we could use in our build logic to mitigate it?

@pvdrz
Copy link
Contributor

pvdrz commented Apr 24, 2025

We'll have to check if we can do a release as cargo-dist seems to be broken. This only affects clang 17 iiuc, maybe using clang 16 or lower works?

@simlay
Copy link
Contributor

simlay commented Apr 24, 2025

This only affects clang 17 iiuc, maybe using clang 16 or lower works?

I believe it does work with a lower clang. The annoying part about this is that Xcode 16.3 bundled in clang 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants