Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 36 additions & 16 deletions cubeone.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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 */

Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
Loading