Can't find WorldSensingUsageDescription

I can't find WorldSensingUsageDescription key in the plist. Anyone else with the same problem? I am using Xcode Beta 15.6

BR Patrick

Accepted Reply

Just directly add "NSWorldSensingUsageDescription" as a string key type to your 'info.plist'

But the "WorldSensing" feature of ARKit in visionOS is not working when you use the Simulator.

print("SceneReconstructionProvider: \(SceneReconstructionProvider.isSupported)") // false
print("WorldTrackingProvider: \(WorldTrackingProvider.isSupported)") // true
print("PlaneDetectionProvider: \(PlaneDetectionProvider.isSupported)") // false
print("HandTrackingProvider: \(HandTrackingProvider.isSupported)") // false
print("ImageTrackingProvider: \(ImageTrackingProvider.isSupported)") // false

  • Thank you very much for your comment, so for example when I want to use the SceneReconstructionProvider, I need to have a physical vision pro? Am I right?

  • Yep. And hope Apple supports these features in Simulator ASAP. ☹️

Add a Comment

Replies

Just directly add "NSWorldSensingUsageDescription" as a string key type to your 'info.plist'

But the "WorldSensing" feature of ARKit in visionOS is not working when you use the Simulator.

print("SceneReconstructionProvider: \(SceneReconstructionProvider.isSupported)") // false
print("WorldTrackingProvider: \(WorldTrackingProvider.isSupported)") // true
print("PlaneDetectionProvider: \(PlaneDetectionProvider.isSupported)") // false
print("HandTrackingProvider: \(HandTrackingProvider.isSupported)") // false
print("ImageTrackingProvider: \(ImageTrackingProvider.isSupported)") // false

  • Thank you very much for your comment, so for example when I want to use the SceneReconstructionProvider, I need to have a physical vision pro? Am I right?

  • Yep. And hope Apple supports these features in Simulator ASAP. ☹️

Add a Comment