Closed emabee closed 3 months ago
I have the exact same issue @tpoechtrager
diff --git a/wrapper/programs/xcrun.cpp b/wrapper/programs/xcrun.cpp
index df20157..ad462e1 100644
--- a/wrapper/programs/xcrun.cpp
+++ b/wrapper/programs/xcrun.cpp
@@ -247,6 +247,7 @@ int xcrun(int argc, char **argv, Target &target) {
{"run", run, 1},
{"show-sdk-path", showSDKPath},
{"show-sdk-version", showSDKVersion},
+ {"show-sdk-platform-version", showSDKVersion},
{"show-sdk-platform-path", showPlatformPath}
}};
Does that fix the issue?
Yes, this should fix the issue IMO. :)
For now definitely, as both commands do return the same value currently. It's unclear when (in future?) different values would be expected. For now the fix seems the best we can get. Thanks!
xcrun has a new option --show-sdk-platform-version which is currently not supported by the respective wrapper in osxcross.
Ring, which is a foundational cryptographic library in rust, uses this option in its build script. Due to that, cross-builds for projects that use ring, e.g. via the support for TLS, fail.
Is it possible to add support for this option? The effort should be moderate, but the impact would be really significant.
Thanks a lot in advance!