Skip to content

Commit

Permalink
Tryinc xcversion() instead of xcode_select()
Browse files Browse the repository at this point in the history
  • Loading branch information
geosaaga committed Dec 20, 2024
1 parent d828efc commit 2c82beb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ jobs:
working-directory: ios

- name: Build & upload iOS binary
run: bundle exec fastlane ios build_upload_testflight
run: |
bundle update fastlane
bundle exec fastlane ios build_upload_testflight
env:
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
Expand Down
2 changes: 1 addition & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ platform :ios do
# Update signing settings and build iOS app for release
desc "Build the iOS app for release"
lane :build_release do |options|
xcode_select("/Applications/Xcode.app")
xcversion(version: "~> 16.0")
app_identifier = ENV["IOS_APP_IDENTIFIER"]
profile_name = ENV["IOS_PROVISIONINGPROFILE_NAME"] # the name of the profile to use for the build
export_method = "app-store" # specify the export method
Expand Down

0 comments on commit 2c82beb

Please sign in to comment.