From dfb728e4ab664800d5dadd6c268948f72608ad89 Mon Sep 17 00:00:00 2001 From: Christophe Vila Date: Sat, 19 Sep 2026 19:49:45 +0200 Subject: [PATCH] chore: explicitly require entitlements for MyPass and AutoFill targets Sets ENTITLEMENTS_REQUIRED = YES for both targets' build configurations. Found while investigating why Settings > AutoFill & Passwords doesn't list MyPass: Xcode's automatic-signing build step (ProcessProductPackaging) silently produces an EMPTY entitlements blob for both the AutoFill extension and the main app on this environment's Simulator builds, despite AutoFill.entitlements/MyPass.entitlements being valid and correctly referenced (verified with plutil, and confirmed manually invoking codesign with the same file embeds the entitlements correctly). This setting alone doesn't fix the underlying issue -- still investigating -- but is a correct, harmless hardening on its own (surfaces an error if entitlements are ever genuinely missing, instead of silently signing without them). Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01WYqycDFsynHH9VnnK7LNSf --- MyPass.xcodeproj/project.pbxproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MyPass.xcodeproj/project.pbxproj b/MyPass.xcodeproj/project.pbxproj index 1722d44..832263b 100644 --- a/MyPass.xcodeproj/project.pbxproj +++ b/MyPass.xcodeproj/project.pbxproj @@ -527,6 +527,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = MyPass/MyPass.entitlements; + ENTITLEMENTS_REQUIRED = YES; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = F2KB6W8N4R; @@ -576,6 +577,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = MyPass/MyPass.entitlements; + ENTITLEMENTS_REQUIRED = YES; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = F2KB6W8N4R; @@ -725,6 +727,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_ENTITLEMENTS = AutoFill/AutoFill.entitlements; + ENTITLEMENTS_REQUIRED = YES; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = F2KB6W8N4R; @@ -761,6 +764,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_ENTITLEMENTS = AutoFill/AutoFill.entitlements; + ENTITLEMENTS_REQUIRED = YES; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = F2KB6W8N4R;