Closed Nocxr closed 7 months ago
make sure you have the iPhoneOS SDK installed, Rust currently doesn't have a visionOS target (and libraries don't have support for it) so it's using iOS headers for dependencies in the interim
Also experiencing the same and have all the SDKs for each OS installed as well.
I can reproduce it on my machine if the currently active Xcode is set to the Command Line Tools instead of the actual Xcode.app.
Can you please run xcode-select -p
?
If it shows /Library/Developer/CommandLineTools
, then your Xcode install isn't set to the active install, and Rust is trying to build with the macOS-only command line tools instead.
(This often happens with Xcode Beta, unfortunately, since it's named "Xcode-beta.app" by default.)
There's two ways to fix this:
sudo xcode-select -s /Path/To/Xcode.app
/Applications/Xcode.app
I can reproduce it on my machine if the currently active Xcode is set to the Command Line Tools instead of the actual Xcode.app.
Can you please run
xcode-select -p
?If it shows
/Library/Developer/CommandLineTools
, then your Xcode install isn't set to the active install, and Rust is trying to build with the macOS-only command line tools instead.(This often happens with Xcode Beta, unfortunately, since it's named "Xcode-beta.app" by default.)
There's two ways to fix this:
- Hard way:
sudo xcode-select -s /Path/To/Xcode.app
- Easy way: just move your Xcode to
/Applications/Xcode.app
My XCode was already in /Applications/Xcode.app, just pointed the command line tools there instead. It all worked but I am still receiving.
Showing Recent Issues
There is no XCFramework found at '/Users/swamini/alvr-visionos/ALVRClientCore.xcframework'.
Run
Product -> Clean Build Folder.
I was able to reproduce your issue by trying to build without a ALVRClientCore.xcframework
; I then get the same error that you got even after I put the xcframework back. Doing a Clean Build Folder then building again worked.
I can reproduce it on my machine if the currently active Xcode is set to the Command Line Tools instead of the actual Xcode.app.
Can you please run
xcode-select -p
?If it shows
/Library/Developer/CommandLineTools
, then your Xcode install isn't set to the active install, and Rust is trying to build with the macOS-only command line tools instead.(This often happens with Xcode Beta, unfortunately, since it's named "Xcode-beta.app" by default.)
There's two ways to fix this:
- Hard way:
sudo xcode-select -s /Path/To/Xcode.app
- Easy way: just move your Xcode to
/Applications/Xcode.app
I did have all the sdks installed, but you were correct that it was set to CommandLineTools, I used the sudo command and it worked right away, thank you very much!
Run
Product -> Clean Build Folder.
I was able to reproduce your issue by trying to build without a
ALVRClientCore.xcframework
; I then get the same error that you got even after I put the xcframework back. Doing a Clean Build Folder then building again worked.
That worked and was able to get it connected but not it just keeps connecting-disconnecting-connecting-disconnecting on loop. I see the SteamVR overlay and it's tracking and all but just keeps going through that loop every 1-2 seconds consistently.
Just cloned the repo and tried running the script, it starts compiling everything fine until it hits this:
I'm using a new Macbook Pro M3 Sonoma 14.3, please let me know if there is anything else I can provide that might help, thanks!