From 7f63ee7c807c6124d31b1680bdd9f5250126fe4c Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Fri, 6 Jun 2025 19:45:41 -0600 Subject: [PATCH] add another way to fix the privacy policy manifest for third parties like GoogleToolboxForMac --- ios/App/App.xcodeproj/project.pbxproj | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/ios/App/App.xcodeproj/project.pbxproj b/ios/App/App.xcodeproj/project.pbxproj index 45b03396..0d2a1334 100644 --- a/ios/App/App.xcodeproj/project.pbxproj +++ b/ios/App/App.xcodeproj/project.pbxproj @@ -91,7 +91,6 @@ EAEC6436E595F7CD3A1C9E96 /* Pods-App.debug.xcconfig */, E2E9297D5D02C549106C77F9 /* Pods-App.release.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -108,6 +107,7 @@ 504EC3021FED79650016851F /* Resources */, 012076E8FFE4BF260A79B034 /* Fix Privacy Manifest */, 3525031ED1C96EF4CF6E9959 /* [CP] Embed Pods Frameworks */, + 96A7EF592DF3366D00084D51 /* Fix Privacy Manifest */, ); buildRules = ( ); @@ -187,7 +187,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PROJECT_DIR}/app_privacy_manifest_fixer/fixer.sh\" "; + shellScript = "\"${PROJECT_DIR}/app_privacy_manifest_fixer/fixer.sh\" \n"; showEnvVarsInLog = 0; }; 3525031ED1C96EF4CF6E9959 /* [CP] Embed Pods Frameworks */ = { @@ -227,6 +227,25 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + 96A7EF592DF3366D00084D51 /* Fix Privacy Manifest */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Fix Privacy Manifest"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "$PROJECT_DIR/app_privacy_manifest_fixer/fixer.sh\n"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -384,7 +403,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 19; + CURRENT_PROJECT_VERSION = 21; DEVELOPMENT_TEAM = GM3FS5JQPH; ENABLE_APP_SANDBOX = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO; @@ -411,7 +430,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 19; + CURRENT_PROJECT_VERSION = 21; DEVELOPMENT_TEAM = GM3FS5JQPH; ENABLE_APP_SANDBOX = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;