Reference Error for VisionOS

when I try to import CompositorServices, I get an error for:

dyld[596]: Symbol not found: _$sSo13cp_drawable_tV18CompositorServicesE17computeProjection37normalizedDeviceCoordinatesConvention9viewIndexSo13simd_float4x4aSo0A26_axis_direction_conventionV_SitF Referenced from: <F05697B9-1D81-3BCA-94C5-444E846C1051> /private/var/containers/Bundle/Application/33008953-150D-4888-9860-28F41E916655/VolumeRenderingVision.app/VolumeRenderingVision.debug.dylib Expected in: <968F7985-72C8-30D7-866C-AD8A1B8E7EE6> /System/Library/Frameworks/CompositorServices.framework/CompositorServices

The app wrongly refers to my Mac's local directory. However, I chose Vision Pro as a running device. My Mac has been updated to macOS 15 beta 7, and I have not had the same issue before.

Hi @Junyi_Wang

Your Mac is up to date, but what about your Vision Pro and Xcode? Please make sure that your device is updated to the latest visionOS beta, and that you are building your app with the latest Xcode 16 beta. Then, if you still encounter this issue, please file a bug report using Feedback Assistant.

Reference Error for VisionOS
 
 
Q