azure-flutter-tasks
azure-flutter-tasks copied to clipboard
Flutter iOS Unable to run exportArchive
I have followed the medium tutorial and fixed lot's of issues by myself although I got to this one:
Building App Store IPA... 2,157ms
Encountered error while creating the IPA:
error: exportArchive: Failed to log in.
If I run
flutter build ipa --export-options-plist=/Users/myUser/Documents/Developement/flutter_app/app/iOS/exportOptions.plist
locally it is successfully generates the IPA file
More to that I ran locally the command below and it was successful:
xcodebuild -exportArchive -exportOptionsPlist --export-options-plist=/Users/myUser/Documents/Developement/flutter_app/app/iOS/exportOptions.plist -archivePath '/Users/myUser/Library/Developer/Xcode/Archives/2024-02-09/FlutterApp 2024-02-09 13.18.02.xcarchive' -exportPath /Users/myUser/Desktop
Thing is I didn't see any step where I have to provide some login info for an Apple ID. Any ideas how to make flutter build ipa --export-options-plist=etc pass on Azure Devops?