From 0bfdbb5c31c7b3d01948d5a868a3006260c6b32a Mon Sep 17 00:00:00 2001 From: Daniel Arantes Loverde Date: Fri, 31 Jul 2026 14:20:55 -0300 Subject: [PATCH] [app-attest-env] Opt-in app attest via CDhash and switch local signing to automatic --- Darwin/Entitlements.plist | 4 ++++ Darwin/PediFoods.xcodeproj/project.pbxproj | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Darwin/Entitlements.plist b/Darwin/Entitlements.plist index 3376aa1..1b0cdf5 100644 --- a/Darwin/Entitlements.plist +++ b/Darwin/Entitlements.plist @@ -2,6 +2,10 @@ + com.apple.developer.devicecheck.app-attest-opt-in + + CDhash + com.apple.developer.devicecheck.appattest-environment $(APP_ATTEST_ENVIRONMENT) diff --git a/Darwin/PediFoods.xcodeproj/project.pbxproj b/Darwin/PediFoods.xcodeproj/project.pbxproj index 580bc88..5fdba32 100644 --- a/Darwin/PediFoods.xcodeproj/project.pbxproj +++ b/Darwin/PediFoods.xcodeproj/project.pbxproj @@ -198,8 +198,8 @@ baseConfigurationReference = 496EB72F2A6AE4DE00C1253B /* PediFoods.xcconfig */; buildSettings = { APP_ATTEST_ENVIRONMENT = production; - CODE_SIGN_IDENTITY = "Apple Distribution"; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = K4E5BZMM4V; ENABLE_PREVIEWS = YES; INFOPLIST_KEY_CFBundleDisplayName = "Pedi Foods"; @@ -208,7 +208,7 @@ INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - PROVISIONING_PROFILE_SPECIFIER = "com.br.pedifoods.app AppStore"; + PROVISIONING_PROFILE_SPECIFIER = ""; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; TARGETED_DEVICE_FAMILY = 1;