Update apple vision os xr plugin,build error

editor 2022.3.29f1,xcode 15.4
after update apple vision os xr plugin
build error in xcode

/Users/grissom/Unity/haihedemo/package2/Libraries/com.unity.xr.visionos/Runtime/Plugins/visionos/SwiftTrampoline/UnitySwiftUIAppDelegate.swift:8:82 Cannot find ‘VisionOSSkipPresent’ in scope

/Users/grissom/Unity/haihedemo/package2/Libraries/com.unity.xr.visionos/Runtime/Plugins/visionos/UnityCompositorSpace.swift:35:30 Cannot find ‘VisionOSEnableFoveation’ in scope

/Users/grissom/Unity/haihedemo/package2/Libraries/com.unity.xr.visionos/Runtime/Plugins/visionos/UnityCompositorSpace.swift:41:87 Cannot find ‘VisionOSEnableFoveation’ in scope

/Users/grissom/Unity/haihedemo/package2/Libraries/com.unity.xr.visionos/Runtime/Plugins/visionos/UnityCompositorSpace.swift:107:43 Cannot find ‘VisionOSImmersionStyle’ in scope

/Users/grissom/Unity/haihedemo/package2/Libraries/com.unity.xr.visionos/Runtime/Plugins/visionos/UnityCompositorSpace.swift:107:72 Cannot find ‘VisionOSImmersionStyle’ in scope

/Users/grissom/Unity/haihedemo/package2/Libraries/com.unity.xr.visionos/Runtime/Plugins/visionos/UnityCompositorSpace.swift:108:30 Cannot find ‘VisionOSUpperLimbVisibility’ in scope

1 Like

I have the same issues ;(

Here is a solution:
Targets > Build Settings
Set Precompile Bridging Header to NO

thank you
But I changed this method and it still hasn’t changed

1 Like