Allow setting xcode version in fastfile

This commit is contained in:
Nora Trapp 2021-06-03 09:00:25 -07:00
parent e0d3d455bf
commit 3c46515b6e
3 changed files with 7 additions and 0 deletions

View File

@ -5,3 +5,4 @@ gem 'fastlane'
gem 'anbt-sql-formatter'
# The current head of cocoapods-binary drops acknowledgements
gem 'cocoapods-binary', git: 'https://github.com/signalapp/cocoapods-binary.git', branch: 'jrose/acknowledgements'
gem 'xcode-install'

View File

@ -260,6 +260,9 @@ GEM
unicode-display_width (1.7.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcode-install (2.7.0)
claide (>= 0.9.1, < 1.1.0)
fastlane (>= 2.1.0, < 3.0.0)
xcodeproj (1.19.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
@ -279,6 +282,7 @@ DEPENDENCIES
cocoapods
cocoapods-binary!
fastlane
xcode-install
BUNDLED WITH
1.17.2

View File

@ -17,6 +17,8 @@ default_platform(:ios)
desc 'Build, Archive, and Upload to ASC'
lane :release do |options|
xcversion(version: '12.5')
app_identifier = ENV['APP_IDENTIFIER']
scheme = ENV['SCHEME']
configuration = 'App Store Release'