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
4 changes: 2 additions & 2 deletions V2er.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 28;
DEVELOPMENT_ASSET_PATHS = "\"V2er/Preview Content\"";
DEVELOPMENT_TEAM = DZCZQ4694Z;
ENABLE_PREVIEWS = YES;
Expand All @@ -1158,7 +1158,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4;
CURRENT_PROJECT_VERSION = 28;
DEVELOPMENT_ASSET_PATHS = "\"V2er/Preview Content\"";
DEVELOPMENT_TEAM = DZCZQ4694Z;
ENABLE_PREVIEWS = YES;
Expand Down
5 changes: 5 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ platform :ios do
# Get App Store Connect API key
api_key = get_api_key

# Increment build number to avoid conflicts
increment_build_number(
build_number: latest_testflight_build_number(api_key: api_key) + 1
Copy link

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest_testflight_build_number function can return nil if no builds exist in TestFlight, which would cause a runtime error when adding 1. Consider using the || 0 operator to handle this case: (latest_testflight_build_number(api_key: api_key) || 0) + 1

Suggested change
build_number: latest_testflight_build_number(api_key: api_key) + 1
build_number: (latest_testflight_build_number(api_key: api_key) || 0) + 1

Copilot uses AI. Check for mistakes.
)

# Build the app
build_ipa

Expand Down
Loading