From ac787a0c9e81d2bfeeb6b4aa214ccecea3166261 Mon Sep 17 00:00:00 2001 From: Christophe Vila Date: Sat, 19 Sep 2026 15:50:11 +0200 Subject: [PATCH] feat: complete AutoFill target capability wiring Adds App Groups + Keychain Sharing entitlements to the AutoFill target (matching the main app's group.org.antiloop222.mypass / org.antiloop222.mypass), sets REGISTER_APP_GROUPS so automatic signing registers the capability, and links MyPassCore as a framework dependency by reusing the existing local package product reference. Verified with `xcodebuild -scheme AutoFill build` for the iOS Simulator: the AutoFill.appex target builds, signs, and embeds cleanly (the only build failure is the pre-existing, expected ContentView.swift/Item SwiftData breakage in the MyPass app target, unrelated to this change). Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01WYqycDFsynHH9VnnK7LNSf --- AutoFill/AutoFill.entitlements | 8 ++++++++ MyPass.xcodeproj/project.pbxproj | 11 +++++++++++ .../xcschemes/xcschememanagement.plist | 4 ++-- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/AutoFill/AutoFill.entitlements b/AutoFill/AutoFill.entitlements index 6bad017..3622ef2 100644 --- a/AutoFill/AutoFill.entitlements +++ b/AutoFill/AutoFill.entitlements @@ -4,5 +4,13 @@ com.apple.developer.authentication-services.autofill-credential-provider + com.apple.security.application-groups + + group.org.antiloop222.mypass + + keychain-access-groups + + $(AppIdentifierPrefix)org.antiloop222.mypass + diff --git a/MyPass.xcodeproj/project.pbxproj b/MyPass.xcodeproj/project.pbxproj index 6c374d5..b695cce 100644 --- a/MyPass.xcodeproj/project.pbxproj +++ b/MyPass.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* Begin PBXBuildFile section */ 205678DB2FC0EB5200251C6B /* MyPassCore in Frameworks */ = {isa = PBXBuildFile; productRef = 205678DA2FC0EB5200251C6B /* MyPassCore */; }; 2096B432305EC2B200C2F253 /* AuthenticationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 205678E32FC0F52A00251C6B /* AuthenticationServices.framework */; }; + 67DE2FCFC21FD6DF5E761C87 /* MyPassCore in Frameworks */ = {isa = PBXBuildFile; productRef = 205678DA2FC0EB5200251C6B /* MyPassCore */; }; 2096B43D305EC2B200C2F253 /* AutoFill.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 2096B431305EC2B200C2F253 /* AutoFill.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; /* End PBXBuildFile section */ @@ -122,6 +123,7 @@ buildActionMask = 2147483647; files = ( 2096B432305EC2B200C2F253 /* AuthenticationServices.framework in Frameworks */, + 67DE2FCFC21FD6DF5E761C87 /* MyPassCore in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -250,6 +252,7 @@ ); name = AutoFill; packageProductDependencies = ( + 205678DA2FC0EB5200251C6B /* MyPassCore */, ); productName = AutoFill; productReference = 2096B431305EC2B200C2F253 /* AutoFill.appex */; @@ -719,9 +722,13 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = org.antiloop222.MyPass.AutoFill; PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; SDKROOT = iphoneos; SKIP_INSTALL = YES; STRING_CATALOG_GENERATE_SYMBOLS = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_APPROACHABLE_CONCURRENCY = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; @@ -750,9 +757,13 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = org.antiloop222.MyPass.AutoFill; PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; SDKROOT = iphoneos; SKIP_INSTALL = YES; STRING_CATALOG_GENERATE_SYMBOLS = YES; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_APPROACHABLE_CONCURRENCY = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; diff --git a/MyPass.xcodeproj/xcuserdata/kriss.xcuserdatad/xcschemes/xcschememanagement.plist b/MyPass.xcodeproj/xcuserdata/kriss.xcuserdatad/xcschemes/xcschememanagement.plist index 0186121..8d605ac 100644 --- a/MyPass.xcodeproj/xcuserdata/kriss.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/MyPass.xcodeproj/xcuserdata/kriss.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,12 +7,12 @@ AutoFill.xcscheme_^#shared#^_ orderHint - 1 + 4 MyPass.xcscheme_^#shared#^_ orderHint - 0 + 3