diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 8304f8bc..4d2e0516 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -33,7 +33,7 @@ platform :ios do possible_paths.each do |path| if File.exist?(path) UI.message "Found AuthKey.p8 at: #{path}" - auth_key_path = path + auth_key_path = File.expand_path(path) break end end @@ -42,6 +42,10 @@ platform :ios do UI.user_error!("API key file not found. Tried paths: #{possible_paths.join(', ')}") end + UI.message "Using auth_key_path: #{auth_key_path}" + UI.message "File exists check: #{File.exist?(auth_key_path)}" + UI.message "File size: #{File.size(auth_key_path)} bytes" + match(type: "appstore", readonly: true) increment_build_number(xcodeproj: "Runner.xcodeproj") @@ -53,6 +57,9 @@ platform :ios do xcargs: "--dart-define=HIDE_PLANS=true" ) + UI.message "About to call app_store_connect_api_key with key_filepath: #{auth_key_path}" + UI.message "File still exists: #{File.exist?(auth_key_path)}" + app_store_connect_api_key( key_id: "325JS9JCZH", issuer_id: "dfa27d1d-2bb8-4d4d-847e-0b32f9b880b3",