Post

Replies

Boosts

Views

Activity

Reply to any app shows a black square instead of the camera picture
I tried to use AVFoundation, but it says that the camera access is blocked in the visionOS 2.5 Then I tried to use the ARKit and RealityKit, but there is always the same black square instrad of the camera. The third option that I found is the CameraFrameProvider, but as far as I understood it requires appliying for special entitlements (https://developer.apple.com/documentation/visionos/building-spatial-experiences-for-business-apps-with-enterprise-apis?changes=_9) So what is the normal working way to build an app for visionOS 2.5 using the front camera of the Apple Vision Pro?
Jun ’25
Reply to WorldCaptureKit
Thank you! I am making an app for Apple Vision pro (VisionOS 2.5) that is scanning the surroundings and recognises all the texts around you. I tried to use the AVCaptureSession library, but when I run the app from xcode on the real AVP device, the camera is not accessible. I enabled the camera access in my Info.plist: NSCameraUsageDescription Used for live text recognition and I checked camera settings in the AVP, there are no restrictions. However I have always a black square with a crossed camera icon displayed instead of the image from the camera.
Jun ’25