Cannot find the entitlement of Enterprise API for Vision pro

We are developing VisionOS app now, we have applied the Enterprise API for visionOS, including Main Camera Access for Vision Pro, and already get the "Enterprise.license" in the mail apple sent us, we use the developer account import the license file into Xcode:

but in Xcode, we cannot find the entitlement of Enterprise API:

if we put com.apple.developer.arkit.main-camera-access.allow into Entitlement file of the project manually,Xcode will alarm:

and we find that the app itself dont have "Additional Capabilities" which include the Enterprise API:

what should we do to have the entitlement file for the Enterprise API, so we can use the enterprise API?

Hey @houhua_yang,

Have you included the Enterprise.license file in the Target Membership for your application? You can do this using the inspector on the right hand side of Xcode; under the first tab called the File inspector you'll see a Target Membership section.

As outlined in the Configure your app’s Xcode project section of the docs:

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.

If you are still having the issue after performing these steps, please let me know,
Michael

@Vision Pro Engineer I am in the exact same situation. I received the Enterprise license file last week, and am trying to add Barcode Detection to an app. I see the same issues that @houhua_yang sees, and I have verified that the Enterprise.license file is included in the Target Membership section.

@Vision Pro Engineer our Enterprise.license file is already included in the Target Membership section.

how will this affect if we dont put the Bundle ID and the App Name when we apply? because when we apply for the Enterprise API, we were not sure the exact name of the app so we didnt write it in the request.

@houhua_yang have you managed to get this working? I am still stuck with no way forward.

Hey @houhua_yang, @jeremyfromtoledo, @trackro,

Are you guys still having issues getting the entitlements working?

If so, I'd greatly appreciate it if you could open a bug report, include the team id and bundle id that you are using, and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

Thanks,
Michael

Cannot find the entitlement of Enterprise API for Vision pro
 
 
Q