From c25333bb3165a25c4f7f27c402aa0e2290dae893 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sun, 9 Aug 2026 14:16:17 +0000 Subject: [PATCH] Generate Info.plist via build settings (fix duplicate output + pbxproj crash) --- HelloWorld/Info.plist | 36 ----------------------- iOS-hello_world.xcodeproj/project.pbxproj | 26 +++++----------- 2 files changed, 8 insertions(+), 54 deletions(-) delete mode 100644 HelloWorld/Info.plist diff --git a/HelloWorld/Info.plist b/HelloWorld/Info.plist deleted file mode 100644 index 80fca6c..0000000 --- a/HelloWorld/Info.plist +++ /dev/null @@ -1,36 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - Hello World - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchScreen - - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - - - diff --git a/iOS-hello_world.xcodeproj/project.pbxproj b/iOS-hello_world.xcodeproj/project.pbxproj index 45a1eb8..5c11d6c 100644 --- a/iOS-hello_world.xcodeproj/project.pbxproj +++ b/iOS-hello_world.xcodeproj/project.pbxproj @@ -9,20 +9,6 @@ /* Begin PBXFileSystemSynchronizedRootGroup section */ AB1234567890ABCDEF000001 /* HelloWorld */ = { isa = PBXFileSystemSynchronizedRootGroup; - exceptions = ( - { - path = Info.plist; - exceptions = ( - { - isa = PBXFileSystemSynchronizedBuildFileExceptionSet; - membershipExceptions = ( - Info.plist, - ); - target = AB1234567890ABCDEF000005 /* iOS-hello_world */; - }, - ); - }, - ); explicitFileTypes = { }; explicitFolders = ( @@ -203,8 +189,10 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; - GENERATE_INFOPLIST_FILE = NO; - INFOPLIST_FILE = HelloWorld/Info.plist; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = "Hello World"; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -225,8 +213,10 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; - GENERATE_INFOPLIST_FILE = NO; - INFOPLIST_FILE = HelloWorld/Info.plist; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_CFBundleDisplayName = "Hello World"; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks",