diff --git a/app/ios/App/Gemfile b/app/ios/App/Gemfile new file mode 100644 index 000000000..b38f3c1ff --- /dev/null +++ b/app/ios/App/Gemfile @@ -0,0 +1,7 @@ +source "https://rubygems.org" + +gem "fastlane" +gem "cocoapods" + +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/app/ios/App/fastlane/Fastfile b/app/ios/App/fastlane/Fastfile index a7af27ad3..3efccba9b 100644 --- a/app/ios/App/fastlane/Fastfile +++ b/app/ios/App/fastlane/Fastfile @@ -34,48 +34,7 @@ def ensure_temp_keychain(name, password) end platform :ios do - lane :test_ipa do - keychain_name = TEMP_KEYCHAIN_USER - keychain_password = TEMP_KEYCHAIN_PASSWORD - ensure_temp_keychain(keychain_name, keychain_password) - - api_key = app_store_connect_api_key( - key_id: APPLE_KEY_ID, - issuer_id: APPLE_ISSUER_ID, - key_content: APPLE_KEY_CONTENT, - duration: 1200, - in_house: false - ) - - #increment_build_number(xcodeproj: "App.xcodeproj") - #handled by script and xcode in build phases, I hope. - - cocoapods( - clean_install: true - ) - - match( - type: 'development', - app_identifier: "#{DEVELOPER_APP_IDENTIFIER}", - git_basic_authorization: Base64.strict_encode64(ENV["GIT_AUTHORIZATION"]), - readonly: false, - keychain_name: keychain_name, - keychain_password: keychain_password, - api_key: api_key - ) - - gym( - configuration: "Debug", - workspace: "App.xcworkspace", - scheme: "App", - export_method: "development", - export_options: { - provisioningProfiles: { - DEVELOPER_APP_ID => "match Development #{DEVELOPER_APP_IDENTIFIER}" - } - } - ) - end + lane :closed_beta_browserstack do keychain_name = TEMP_KEYCHAIN_USER keychain_password = TEMP_KEYCHAIN_PASSWORD @@ -124,6 +83,8 @@ platform :ios do custom_id: "ios-github-actions-fastlane" ) end + + lane :closed_beta_testflight do keychain_name = TEMP_KEYCHAIN_USER keychain_password = TEMP_KEYCHAIN_PASSWORD @@ -171,7 +132,6 @@ platform :ios do merge_commit_filtering: "exclude_merges" ) - pilot( apple_id: "#{DEVELOPER_APP_ID}", app_identifier: "#{DEVELOPER_APP_IDENTIFIER}",