Xcode compile error when compiling samples

I am using Unity 2022.3.5f1 with Xcode 15 beta 2 and whenever I import the samples as outlined in the 0.2.2 package release topic and try to compile it I get the following error

/[path to build]/Libraries/ARM64/Packages/com.unity.xr.visionos/Runtime/VisionOSNativeBridge.mm:457:33 Use of undeclared identifier 'ar_plane_extent_get_plane_anchor_from_plane_extent_transform'

Has anybody else encountered this issue? I’m using the latest package version, maybe the issue has to do with that. I might try downgrading to a previous version to see if that works.

The project is a regular 3D URP project, I haven’t used the template for it, might also give that a shot.

We found updating to Xcode Beta 5 cleared this error.

1 Like

Yeah. It seems that if you are using Xcode beta 2 you need to use the vision os packages versioned 0.1.2, then it does work. I assume the 0.2.2 packages require Xcode beta 5.

1 Like