From 8ea1283f78194d1c3ba574bf923aa1bacdc83bd1 Mon Sep 17 00:00:00 2001 From: cypherair <262752927+cypherair@users.noreply.github.com> Date: Mon, 31 Aug 2026 09:48:09 -0700 Subject: [PATCH] Enable game mode and update release settings --- .mcp.json | 11 +++++++++++ Info.plist | 10 ++++++++++ cubeone.xcodeproj/project.pbxproj | 24 ++++++++++++++++++------ 3 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 .mcp.json create mode 100644 Info.plist diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..423733b --- /dev/null +++ b/.mcp.json @@ -0,0 +1,11 @@ +{ + "mcpServers": { + "xcode": { + "command": "/usr/bin/xcrun", + "args": ["mcpbridge"], + "env": { + "DEVELOPER_DIR": "/Applications/Xcode-beta.app/Contents/Developer" + } + } + } +} diff --git a/Info.plist b/Info.plist new file mode 100644 index 0000000..4570bc1 --- /dev/null +++ b/Info.plist @@ -0,0 +1,10 @@ + + + + + CADisableMinimumFrameDurationOnPhone + + LSSupportsGameMode + + + diff --git a/cubeone.xcodeproj/project.pbxproj b/cubeone.xcodeproj/project.pbxproj index 3ca30a4..bb21559 100644 --- a/cubeone.xcodeproj/project.pbxproj +++ b/cubeone.xcodeproj/project.pbxproj @@ -378,9 +378,10 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CODE_SIGN_ENTITLEMENTS = cube/cube.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 11100; + CURRENT_PROJECT_VERSION = 11200; DEVELOPMENT_TEAM = 7P9PPXP2SF; ENABLE_APP_SANDBOX = YES; ENABLE_ENHANCED_SECURITY = NO; @@ -388,6 +389,7 @@ ENABLE_USER_SELECTED_FILES = readonly; GCC_C_LANGUAGE_STANDARD = gnu23; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Cube One"; INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games"; @@ -401,9 +403,11 @@ "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 26.6; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MARKETING_VERSION = 1.1.1; + MACOSX_DEPLOYMENT_TARGET = 26.6; + MARKETING_VERSION = 1.1.2; PRODUCT_BUNDLE_IDENTIFIER = com.chentianren.cube; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -424,9 +428,10 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CODE_SIGN_ENTITLEMENTS = cube/cube.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 11100; + CURRENT_PROJECT_VERSION = 11200; DEVELOPMENT_TEAM = 7P9PPXP2SF; ENABLE_APP_SANDBOX = YES; ENABLE_ENHANCED_SECURITY = NO; @@ -434,6 +439,7 @@ ENABLE_USER_SELECTED_FILES = readonly; GCC_C_LANGUAGE_STANDARD = gnu23; GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Cube One"; INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games"; @@ -447,9 +453,11 @@ "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 26.6; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MARKETING_VERSION = 1.1.1; + MACOSX_DEPLOYMENT_TARGET = 26.6; + MARKETING_VERSION = 1.1.2; PRODUCT_BUNDLE_IDENTIFIER = com.chentianren.cube; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES; @@ -470,9 +478,10 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; CODE_SIGN_ENTITLEMENTS = cube/cube.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 11100; + CURRENT_PROJECT_VERSION = 11200; DEVELOPMENT_TEAM = 7P9PPXP2SF; ENABLE_APP_SANDBOX = YES; ENABLE_ENHANCED_SECURITY = NO; @@ -481,6 +490,7 @@ GCC_C_LANGUAGE_STANDARD = gnu23; GENERATE_INFOPLIST_FILE = YES; INCLUDE_PDB_SEEDS = YES; + INFOPLIST_FILE = Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "Cube One"; INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.games"; @@ -494,9 +504,11 @@ "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 26.6; LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MARKETING_VERSION = 1.1.1; + MACOSX_DEPLOYMENT_TARGET = 26.6; + MARKETING_VERSION = 1.1.2; PRODUCT_BUNDLE_IDENTIFIER = com.chentianren.cube; PRODUCT_NAME = "$(TARGET_NAME)"; REGISTER_APP_GROUPS = YES;