andrewpmoore / simple_deploy

Easily deploy to the play store or Test Flight for flutter projects
MIT License
22 stars 2 forks source link

Upload to TestFlight Failed - Unable to Find Archive File (IPA has a different name than app.ipa) #5

Closed samuelquaynor closed 1 week ago

samuelquaynor commented 2 weeks ago

Attempting to upload the app to TestFlight resulted in an error indicating that the archive file could not be found. But archive is available just in a different name, is there accomodation to set archive with a different name?

Error: Upload to TestFlight failed: Running altool at path '/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Frameworks/AppStoreService.framework/Support/altool'... 2024-11-11 12:52:41.882 Error: Error uploading '/Users/samuelquaynor/Documents/GitHub/ntemm_rider/build/ios/ipa/app.ipa'. 2024-11-11 12:52:41.883 Error: Unable to upload archive. The file '/Users/samuelquaynor/Documents/GitHub/ntemm_rider/build/ios/ipa/app.ipa' cannot be found. (-43) { NSLocalizedDescription = "Unable to upload archive."; NSLocalizedFailureReason = "The file '/Users/samuelquaynor/Documents/GitHub/ntemm_rider/build/ios/ipa/app.ipa' cannot be found."; }

Screenshot 2024-11-11 at 12 57 47

andrewpmoore commented 2 weeks ago

At the moment it's assuming app.ipa as that's flutter build ios creates I think. I'm curious as to understand how it gets that name, I can certainly look at adding in a buidName

andrewpmoore commented 1 week ago

In version 0.21.0 you can now specify a generatedFileName which will override the default app.ipa. Give it a go and re-open the issue if you have any issues with it

samuelquaynor commented 1 week ago

Working now thanks