diff --git a/.github/workflows/ios-cd-stage.yml b/.github/workflows/ios-cd-stage.yml index ec39ce3..95119c0 100644 --- a/.github/workflows/ios-cd-stage.yml +++ b/.github/workflows/ios-cd-stage.yml @@ -20,7 +20,7 @@ jobs: - name: Select Xcode uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "16.2" + xcode-version: "latest-stable" - name: Install iOS SDK (Retry up to 3 times) run: | diff --git a/.github/workflows/ios_ci.yml b/.github/workflows/ios_ci.yml index d6d7042..d010712 100644 --- a/.github/workflows/ios_ci.yml +++ b/.github/workflows/ios_ci.yml @@ -16,7 +16,7 @@ jobs: - name: Select Xcode uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "16.2" + xcode-version: "latest-stable" - name: Debug toolchain run: | diff --git a/Atcha-iOS.xcodeproj/project.pbxproj b/Atcha-iOS.xcodeproj/project.pbxproj index 790eaf7..5f8095a 100644 --- a/Atcha-iOS.xcodeproj/project.pbxproj +++ b/Atcha-iOS.xcodeproj/project.pbxproj @@ -2450,11 +2450,9 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = "Atcha-iOS/Atcha-iOS.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 15; - DEVELOPMENT_TEAM = ""; - "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 23SCTLK482; + DEVELOPMENT_TEAM = 23SCTLK482; EXCLUDED_ARCHS = ""; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -2481,7 +2479,6 @@ PRODUCT_BUNDLE_IDENTIFIER = com.atcha.iOS; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.atcha.iOS"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 25bf21e..b0c387c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -30,7 +30,12 @@ platform :ios do ) match(type: "appstore") - increment_build_number(xcodeproj: "Atcha-iOS.xcodeproj") + latest_build = latest_testflight_build_number(api_key: api_key) + + increment_build_number( + build_number: latest_build + 1, + xcodeproj: "Atcha-iOS.xcodeproj" + ) build_app( project: "Atcha-iOS.xcodeproj", @@ -47,7 +52,13 @@ platform :ios do desc "App Store 업로드 (Submit은 안 함)" lane :release do match(type: "appstore") - increment_build_number(xcodeproj: "Atcha-iOS.xcodeproj") + + latest_build = latest_testflight_build_number(api_key: api_key) + + increment_build_number( + build_number: latest_build + 1, + xcodeproj: "Atcha-iOS.xcodeproj" + ) build_app( project: "Atcha-iOS.xcodeproj",