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
Accessing the camera in visionOS requires an enterprise entitlement that must be requested.
Enterprise APIs are eligible for business use only, and you can only distribute apps that you develop with the Enterprise APIs privately as proprietary in-house apps or custom apps using Apple Business Manager.
https://developer.apple.com/documentation/visionOS/building-spatial-experiences-for-business-apps-with-enterprise-apis
Per Apple
the Account Holder of your Apple Developer Program or Apple Developer Enterprise Program can request the entitlement.
Any apps will be distributed through "Apple Business Manager" or privately for "in-house" use only.
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:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.developer.arkit.main-camera-access.allow</key>
    <true/>
</dict>
</plist>

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With