diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index c78d89f9..15a7d506 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -67,8 +67,17 @@ platform :ios do end UI.message "Flutter build number: #{flutter_build_number}" + + api_key = app_store_connect_api_key( + key_id: "325JS9JCZH", + issuer_id: "dfa27d1d-2bb8-4d4d-847e-0b32f9b880b3", + key_filepath: auth_key_path, + duration: 1200, + in_house: false, + + ) - match(type: "appstore", readonly: false) + match(type: "appstore", readonly: false, api_key: api_key) # Set build number explicitly instead of incrementing increment_build_number( @@ -84,14 +93,7 @@ platform :ios do ) - - app_store_connect_api_key( - key_id: "325JS9JCZH", - issuer_id: "dfa27d1d-2bb8-4d4d-847e-0b32f9b880b3", - key_filepath: auth_key_path, - duration: 1200, - in_house: false - ) + begin upload_to_testflight(