-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Add support for visionOS #176
Comments
Please have a look at the PR @ #175 :) |
The latest toolchain file doesn't work for me. I'm using a nightly version of CMake (cmake-3.27.20230807) with the PR supportting visionOS merged. |
Okay, I found a solution. You just cannot specify both of |
It turned out the above-mentioned solution doesn't work. You can get the library to compile this way, but you cannot link it with other libraries built with Xcode.
It's probably due to the wrong build target given by CMake. I ended up leaving the toolchain file and modifying elseif(_CMAKE_OSX_SYSROOT_PATH MATCHES "/XROS")
# set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG "-mtargetos=xros")
elseif(_CMAKE_OSX_SYSROOT_PATH MATCHES "/XRSimulator")
# set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG "-mtargetos=xros") Now it links without a problem. |
The "poor-mans-choice workaround" could be to actually filter any |
Remove APPLE_TARGET_TRIPLE_INT for successful compile |
+1 |
Any progress on this ticket? |
Yes this actually is still a problem when linking the XROS Sim and XROS causing issues. Problem still occurring. Looking into
|
Okay looks like CMake are on the case: Fix in Cmake 3.28.4 |
Merged in Cmake 3.29.0 just released today! |
Yep, the tests added to the toolchain does indeed now work for the xrOS (visionOS) platform. Closing this issue. |
Feature request
Please add support for the xrOS platform and simulator.
The text was updated successfully, but these errors were encountered: