Post

Replies

Boosts

Views

Activity

"unable to find sdk 'xros'" when building for VisionOS
I install XCode 15.01 on MacOS 14.1. I open a Unity project. I tell it to target visionOS (experimental). I get the error: "unable to find sdk 'xros'". I go to developer.apple.com. I download the "Hello World" sample for vision. I open it in XCode and build it. I get the error: "unable to find sdk 'xros'".* It seems something is not installed. I go into XCode Preferences. I look under "Platforms". It says visionOS 1.0 Simulator is installed. I can't find an explanation for this in the docs. All docs seem to assume I've already got installed and working the thing I don't have installed or working. If I go to the visionos/learn page and click "Download SDK", it just offers to let me download Xcode 15.1 beta 2 or Xcode 15.0.1. But I already have XCode 15.01. If I search Downloads for "visionos" I do find an entry for "visionOS 1 beta 4 Simulator Runtime". But the information for it says: "The simplest way to install the visionOS simulator runtime is by using Xcode. Xcode can automatically install it when you build a project or start a new one." So it seems to be saying I shouldn't download it. What should I do? * Full errors: Couldn't look up product type 'com.apple.product-type.application' in domain '': Couldn't load spec with identifier 'com.apple.product-type.application' unable to find sdk 'xros' unable to resolve product type 'com.apple.product-type.application' There are no architectures to compile for because the VALID_ARCHS build setting is an empty list.
4
0
1.8k
Oct ’23