Contents

Building spatial experiences for business apps with enterprise APIs for visionOS

Grant enhanced sensor access and increased platform control to your visionOS app by using entitlements.

Overview

You can use the entitlements that enterprise APIs for visionOS offer to create even more powerful enterprise solutions and spatial experiences for your visionOS app. The enterprise APIs for visionOS consist of two distinct categories.

The first category of APIs provides enhanced sensor access and improves the visual capabilities of Apple Vision Pro.

Main camera access

Capture input data from the forward-facing main camera.

Camera Region access

Capture input data from a specific spatial region in the person’s view for the app to process or display.

Shared Coordinate Space access

Share a coordinate space with other devices in the same physical space as each other to create shared spaces and objects between the devices.

Passthrough in screen capture

Access a composite feed of what an Apple Vision Pro wearer is seeing (physical world and digital content).

Spatial barcode and QR code scanning

Scan barcodes and QR codes with the ability to decode contents and locate spatial positions.

The second category focuses on platform control to help you get the most out of visionOS.

App-Protected Content

Prohibit content captures (screenshots, screen recordings, AirPlay, and SharePlay) of a view.

Object-tracking parameter adjustment

Optimize known object detection and tracking using configurable parameters.

Increased performance headroom

Use increased power of the CPU and GPU for high-compute needs, with a tradeoff of increased thermal usage and reduced battery life.

Window Follow Mode

Allow windows to follow the user to their next destination.

Request the entitlements

If you’re interested in using the enterprise APIs for visionOS in your app, the Account Holder of your Apple Developer Program and/or Apple Developer Enterprise Program can submit an entitlement request.

To be eligible, your app needs to:

  • Be for use in a business setting only

  • Meet specific criteria associated with usage for each API

Enterprise APIs for visionOS are eligible for business use only. You can distribute apps that you develop with the enterprise APIs for visionOS privately as proprietary in-house apps or custom apps using Apple Business Manager. For more information on distributing custom apps, see Set distribution methods.

You can also request access to the entitlements for Development Only purposes. With this access, you can build and run apps on your registered test devices with development provisioning profiles.

Configure your app’s Xcode project

To use entitlements, you need to include both the entitlement file and a corresponding license file in your app. After Apple approves your app for one or more entitlements, you receive a license file, along with additional instructions.

You add the license file to your app’s Xcode project. Placing the license file within your project and adding it to your build target allows Xcode to compile it within your app and then validate it when checking your entitlements.

To add an entitlement in Xcode:

  1. Select your project in the Project navigator.

  2. Select the applicable target and then click the Signing & Capabilities tab.

  3. Click the Add Capability button (+) and type the name of the entitlement you want to add, such as main camera access.

  4. Double-click the entitlement to add it to the Signing section. This creates a .entitlements file with the relevant capability, such as com.apple.developer.arkit.main-camera-access.allow for “Main camera access”.

After you add the .license and .entitlements files, you can implement and test the APIs you have approval to use. For more information, see Adding capabilities to your app.

See Also

Enterprise APIs for visionOS