Build failed on PolySpatial Template

Build fails with error when trying to build PolySpatial Template
Library/Bee/artifacts/iOS/AsyncPluginsFromLinker: xcrun: error: SDK “xros” cannot be located
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:190)

Using Unity 2022.3.19f1 + XCode 15.2 & XCode 15.3 beta + VisionOS 1.1 developer beta

Resolved it
Issue of xcode command tools

sudo xcode-select -s </path/to/your/Xcode.app>

Set it to Xcode-beta

5 Likes

Thank you so much!
For me the default path was:

sudo xcode-select -s /Applications/Xcode.app

2 Likes

I had the same problem as well. I was able to do the same xcode-select thing from the XCode GUI.

From this stackoverflow link…
With recent versions of Xcode, you can go to *Xcode* ➙ *Preferences…* ➙ *Locations* and pick one of the options for Command Line Tools to set the location.