Răsfoiți Sursa

Remove duplicate paywall copy build phase.

Delete the custom shell script that copied paywall.json into the app bundle, so Release builds no longer fail with multiple commands producing the same resource.

Co-authored-by: Cursor <cursoragent@cursor.com>
Hussain Afzal 2 săptămâni în urmă
părinte
comite
96b19975f9
1 a modificat fișierele cu 0 adăugiri și 24 ștergeri
  1. 0 24
      smart_printer.xcodeproj/project.pbxproj

+ 0 - 24
smart_printer.xcodeproj/project.pbxproj

@@ -59,7 +59,6 @@
 			buildPhases = (
 				272FF2262FD19A2200A87B72 /* Sources */,
 				272FF2272FD19A2200A87B72 /* Frameworks */,
-				F8A1B2C32FF010000043D1E6 /* Ensure paywall.json in bundle */,
 				272FF2282FD19A2200A87B72 /* Resources */,
 			);
 			buildRules = (
@@ -110,29 +109,6 @@
 		};
 /* End PBXProject section */
 
-/* Begin PBXShellScriptBuildPhase section */
-		F8A1B2C32FF010000043D1E6 /* Ensure paywall.json in bundle */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputFileListPaths = (
-			);
-			inputPaths = (
-				"$(SRCROOT)/smart_printer/paywall.json",
-			);
-			name = "Ensure paywall.json in bundle";
-			outputFileListPaths = (
-			);
-			outputPaths = (
-				"$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/paywall.json",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "set -euo pipefail\n\nSOURCE_FILE=\"${SRCROOT}/smart_printer/paywall.json\"\nDEST_DIR=\"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}\"\nDEST_FILE=\"${DEST_DIR}/paywall.json\"\n\nif [ ! -f \"${SOURCE_FILE}\" ]; then\n  echo \"error: Required paywall config is missing at ${SOURCE_FILE}\"\n  exit 1\nfi\n\nmkdir -p \"${DEST_DIR}\"\ncp \"${SOURCE_FILE}\" \"${DEST_FILE}\"\n";
-		};
-/* End PBXShellScriptBuildPhase section */
-
 /* Begin PBXResourcesBuildPhase section */
 		272FF2282FD19A2200A87B72 /* Resources */ = {
 			isa = PBXResourcesBuildPhase;