Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/ios-cd-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
7 changes: 2 additions & 5 deletions Atcha-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand All @@ -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;
Expand Down
15 changes: 13 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down