From 4cce9e16fc21fb3faf4032f3ba7ce9a1b83efc92 Mon Sep 17 00:00:00 2001 From: LeeMyeongJin Date: Sun, 26 Apr 2026 02:39:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9B=8C=EC=B9=98=20=EC=95=B1=20INFOPLI?= =?UTF-8?q?ST=20=EC=B6=A9=EB=8F=8C=20=ED=95=B4=EA=B2=B0=EB=A1=9C=20?= =?UTF-8?q?=EC=8B=9C=EB=AE=AC=EB=A0=88=EC=9D=B4=ED=84=B0=20=EB=B9=8C?= =?UTF-8?q?=EB=93=9C=20=EC=A0=95=EC=83=81=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Xcode 26의 fileSystemSynchronizedGroups가 RNWatch/Info.plist를 자동 빌드 단계에 포함시켜 INFOPLIST_FILE 처리와 Multiple commands produce 충돌 발생하던 문제 해결 - GENERATE_INFOPLIST_FILE = YES로 전환하고 RNWatch Watch App/Info.plist 파일 삭제 - 모든 plist 키를 build setting INFOPLIST_KEY_*로 마이그레이션 (Health/UI/WK 5종) - PBXFileSystemSynchronizedBuildFileExceptionSet 섹션 + root group exceptions 참조 제거 --- Runnect-iOS/RNWatch Watch App/Info.plist | 34 ------------------- .../Runnect-iOS.xcodeproj/project.pbxproj | 27 +++++++-------- 2 files changed, 12 insertions(+), 49 deletions(-) delete mode 100644 Runnect-iOS/RNWatch Watch App/Info.plist diff --git a/Runnect-iOS/RNWatch Watch App/Info.plist b/Runnect-iOS/RNWatch Watch App/Info.plist deleted file mode 100644 index af2662a4..00000000 --- a/Runnect-iOS/RNWatch Watch App/Info.plist +++ /dev/null @@ -1,34 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Runnect - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 2.4.2 - CFBundleVersion - 2026.0218.1812 - NSHealthShareUsageDescription - 러닝 중 심박수와 칼로리 정보를 표시하기 위해 건강 데이터 접근이 필요합니다. - NSHealthUpdateUsageDescription - 러닝 운동 기록을 건강 앱에 저장하기 위해 건강 데이터 쓰기 권한이 필요합니다. - UIUserInterfaceStyle - Dark - WKApplication - - WKCompanionAppBundleIdentifier - com.runnect.Runnect-iOS - - diff --git a/Runnect-iOS/Runnect-iOS.xcodeproj/project.pbxproj b/Runnect-iOS/Runnect-iOS.xcodeproj/project.pbxproj index 01e97aab..2fb548ae 100644 --- a/Runnect-iOS/Runnect-iOS.xcodeproj/project.pbxproj +++ b/Runnect-iOS/Runnect-iOS.xcodeproj/project.pbxproj @@ -376,21 +376,10 @@ DAD5A3E1296D4C6500C8166B /* PickedMapListResponseDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PickedMapListResponseDto.swift; sourceTree = ""; }; /* End PBXFileReference section */ -/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ - 71F206B02F38B00000DF721E /* Exceptions for "RNWatch Watch App" folder in "RNWatch Watch App" target */ = { - isa = PBXFileSystemSynchronizedBuildFileExceptionSet; - membershipExceptions = ( - Info.plist, - ); - target = 71F206762F38949F00DF721E /* RNWatch Watch App */; - }; -/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ - /* Begin PBXFileSystemSynchronizedRootGroup section */ 71F2067B2F38949F00DF721E /* RNWatch Watch App */ = { isa = PBXFileSystemSynchronizedRootGroup; exceptions = ( - 71F206B02F38B00000DF721E /* Exceptions for "RNWatch Watch App" folder in "RNWatch Watch App" target */, ); explicitFileTypes = { }; @@ -1606,9 +1595,13 @@ ENABLE_PREVIEWS = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; - GENERATE_INFOPLIST_FILE = NO; - INFOPLIST_FILE = "RNWatch Watch App/Info.plist"; + GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_CFBundleDisplayName = Runnect; +INFOPLIST_KEY_NSHealthShareUsageDescription = "러닝 중 심박수와 칼로리 정보를 표시하기 위해 건강 데이터 접근이 필요합니다."; +INFOPLIST_KEY_NSHealthUpdateUsageDescription = "러닝 운동 기록을 건강 앱에 저장하기 위해 건강 데이터 쓰기 권한이 필요합니다."; +INFOPLIST_KEY_UIUserInterfaceStyle = Dark; +INFOPLIST_KEY_WKApplication = YES; +INFOPLIST_KEY_WKCompanionAppBundleIdentifier = "com.runnect.Runnect-iOS"; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; INFOPLIST_KEY_WKWatchOnly = YES; LD_RUNPATH_SEARCH_PATHS = ( @@ -1643,9 +1636,13 @@ ENABLE_PREVIEWS = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; - GENERATE_INFOPLIST_FILE = NO; - INFOPLIST_FILE = "RNWatch Watch App/Info.plist"; + GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_CFBundleDisplayName = Runnect; +INFOPLIST_KEY_NSHealthShareUsageDescription = "러닝 중 심박수와 칼로리 정보를 표시하기 위해 건강 데이터 접근이 필요합니다."; +INFOPLIST_KEY_NSHealthUpdateUsageDescription = "러닝 운동 기록을 건강 앱에 저장하기 위해 건강 데이터 쓰기 권한이 필요합니다."; +INFOPLIST_KEY_UIUserInterfaceStyle = Dark; +INFOPLIST_KEY_WKApplication = YES; +INFOPLIST_KEY_WKCompanionAppBundleIdentifier = "com.runnect.Runnect-iOS"; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; INFOPLIST_KEY_WKWatchOnly = YES; LD_RUNPATH_SEARCH_PATHS = (