I was using my "Personal Team" for automatic signing. I was able to run on my device without any issue. then I added com.apple.developer.arkit.main-camera-access.allow
into my project.Entitlements file and my project Target’s -> Build Settings -> Signing -> Code Signing entitlements has set to MyProject/MyProject.entitlements. But now I cannot auto signing and I’m getting
Provisioning profile doesn’t include the com.apple.developer.arkit.main-camera-access.allow entitlement.
What can I do to resolve this? Please help me.
Thanks
2
Answers
Accessing the camera in visionOS requires an enterprise entitlement that must be requested.
https://developer.apple.com/documentation/visionOS/building-spatial-experiences-for-business-apps-with-enterprise-apis
You don’t need to be a big company. My friend and I started a two-person company, and I received the required entitlement five days after submitting the Main Camera Access request.
The Apple Developer Program is divided into:
If you already have a company (if you are in mainland China, your business license should state "Limited Liability Company"), you need to:
I encountered a minor issue: when adding the Capability, "Main Camera Access" did not appear in the list. I randomly added another Capability and then manually edited the .entitlements file to look like this: