I’m attempting to use a Locked Camera Capture Extension (created from Xcode’s template / following Apple’s “Creating a camera experience for the Lock Screen” guidance). The extension builds, embeds, and installs on a physical device, but I cannot get it provisioned with the required entitlement com.apple.developer.locked-camera-capture.
Environment
Xcode: 26.0.1 (17A400)
iOS: 26.2.1 (device)
Apple Developer Program: paid Individual (Team ID: FT55UW9363)
Key issue: provisioning profile for the ExtensionKit appex lacks the locked-camera entitlement
The locked camera capture target is embedded as an ExtensionKit extension:
.../DirectionalCamera.app/Extensions/LockedCapture.appex
I decoded the embedded provisioning profile inside that .appex and printed its Entitlements dictionary:
security cms -D -i ".../DirectionalCamera.app/Extensions/LockedCapture.appex/embedded.mobileprovision" > /tmp/locked_profile.plist
/usr/libexec/PlistBuddy -c "Print:Entitlements" /tmp/locked_profile.plist
Entitlements present in the embedded profile:
Dict {
com.apple.developer.avfoundation.multitasking-camera-access = true
application-identifier = FT55UW9363.arp.geocam.LockedCapture
keychain-access-groups = Array {
FT55UW9363.*
com.apple.token
}
get-task-allow = true
com.apple.security.application-groups = Array {
group.arp.geocam
}
com.apple.developer.team-identifier = FT55UW9363
}
Critically, the required entitlement is absent:
/usr/libexec/PlistBuddy -c "Print:Entitlements:com.apple.developer.locked-camera-capture" /tmp/locked_profile.plist
Print: Entry, ":Entitlements:com.apple.developer.locked-camera-capture", Does Not Exist
Build behavior If I manually add com.apple.developer.locked-camera-capture to the extension’s .entitlements, Xcode refuses to sign with:
“Provisioning profile failed qualification: Profile doesn't include the com.apple.developer.locked-camera-capture entitlement.”
Notes
The only other embedded extension is a widget/control extension under .../DirectionalCamera.app/PlugIns/... with a separate profile (expected).
Question
Has anyone successfully provisioned a Locked Camera Capture Extension on a standard paid developer account?
Is com.apple.developer.locked-camera-capture gated/restricted (requiring Apple to enable it for a specific Team ID / App ID), or is there a specific capability in the Developer portal that maps to it?
If it’s restricted, what is the official process to request enablement for a team/app-id?
Any pointers appreciated.
Hello @alan_peterson,
It isn't restricted, something about your configuration is wrong, that entitlement doesn't exist, and I suspect that you may have been given a message like this in Xcode:
"Entitlement com.apple.developer.locked-camera-capture not found and could not be included in profile. This likely is not a valid entitlement and should be removed from your entitlements file."
I recommend that you compare your configuration with that of the AVCam sample code project, which includes a Locked Camera Capture Extension example.
-- Greg