diff --git a/cubeone.xcodeproj/project.pbxproj b/cubeone.xcodeproj/project.pbxproj index 706c874..7d226ee 100644 --- a/cubeone.xcodeproj/project.pbxproj +++ b/cubeone.xcodeproj/project.pbxproj @@ -121,9 +121,6 @@ /* Begin PBXShellScriptBuildPhase section */ 000000000000000150000000 /* Copy PDB Seeds */ = { isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); inputPaths = ( "$(SRCROOT)/Seeds/optimal-corners.pdb.lzfse", "$(SRCROOT)/Seeds/optimal-edges-a7.pdb.lzfse", @@ -133,15 +130,38 @@ ); name = "Copy PDB Seeds"; outputPaths = ( - "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-corners.pdb.lzfse", - "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-a7.pdb.lzfse", - "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-b7.pdb.lzfse", - "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-a8.pdb.lzfse", - "$(BUILT_PRODUCTS_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-b8.pdb.lzfse", + "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-corners.pdb.lzfse", + "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-a7.pdb.lzfse", + "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-b7.pdb.lzfse", + "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-a8.pdb.lzfse", + "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/optimal-edges-b8.pdb.lzfse", ); - runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "# Bundle any locally baked pattern-database seeds (gitignored).\n# Only the Release-Seeded configuration (cubeone-seeded scheme) sets\n# INCLUDE_PDB_SEEDS=YES - daily Debug/Release builds stay small and\n# fast; the app falls back to in-app generation without seeds.\nif [ \"$INCLUDE_PDB_SEEDS\" != \"YES\" ]; then\n echo \"Skipping PDB seeds (INCLUDE_PDB_SEEDS is not YES)\"\n exit 0\nfi\nSEEDS=\"$SRCROOT/Seeds\"\nDEST=\"$BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\"\nfor name in optimal-corners.pdb.lzfse optimal-edges-a7.pdb.lzfse optimal-edges-b7.pdb.lzfse optimal-edges-a8.pdb.lzfse optimal-edges-b8.pdb.lzfse; do\n if [ -f \"$SEEDS/$name\" ]; then\n cp -f \"$SEEDS/$name\" \"$DEST/$name\"\n fi\ndone\nexit 0\n"; + shellScript = ( + "# Bundle any locally baked pattern-database seeds (gitignored).", + "# Only the Release-Seeded configuration (cubeone-seeded scheme) sets", + "# INCLUDE_PDB_SEEDS=YES - daily Debug/Release builds stay small and", + "# fast; the app falls back to in-app generation without seeds.", + "if [ \"$INCLUDE_PDB_SEEDS\" != \"YES\" ]; then", + " echo \"Skipping PDB seeds (INCLUDE_PDB_SEEDS is not YES)\"", + " exit 0", + "fi", + "# Fail the build if a copy fails - a silently seedless archive is", + "# exactly the bug this guards against.", + "set -e", + "SEEDS=\"$SRCROOT/Seeds\"", + "# TARGET_BUILD_DIR, not BUILT_PRODUCTS_DIR: in archive builds the", + "# latter holds only a symlink to the real app, and the script", + "# sandbox denies writes that resolve through it.", + "DEST=\"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\"", + "for name in optimal-corners.pdb.lzfse optimal-edges-a7.pdb.lzfse optimal-edges-b7.pdb.lzfse optimal-edges-a8.pdb.lzfse optimal-edges-b8.pdb.lzfse; do", + " if [ -f \"$SEEDS/$name\" ]; then", + " cp -f \"$SEEDS/$name\" \"$DEST/$name\"", + " fi", + "done", + "exit 0", + "", + ); }; /* End PBXShellScriptBuildPhase section */ @@ -357,7 +377,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = cube/cube.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 10101; + CURRENT_PROJECT_VERSION = 11000; DEVELOPMENT_TEAM = 7P9PPXP2SF; ENABLE_APP_SANDBOX = YES; ENABLE_ENHANCED_SECURITY = NO; @@ -380,7 +400,7 @@ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.1.0; PRODUCT_BUNDLE_IDENTIFIER = com.chentianren.cube; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -403,7 +423,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = cube/cube.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 10101; + CURRENT_PROJECT_VERSION = 11000; DEVELOPMENT_TEAM = 7P9PPXP2SF; ENABLE_APP_SANDBOX = YES; ENABLE_ENHANCED_SECURITY = NO; @@ -426,7 +446,7 @@ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.1.0; PRODUCT_BUNDLE_IDENTIFIER = com.chentianren.cube; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -449,7 +469,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = cube/cube.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 10101; + CURRENT_PROJECT_VERSION = 11000; DEVELOPMENT_TEAM = 7P9PPXP2SF; ENABLE_APP_SANDBOX = YES; ENABLE_ENHANCED_SECURITY = NO; @@ -473,7 +493,7 @@ INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.1.0; PRODUCT_BUNDLE_IDENTIFIER = com.chentianren.cube; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES;