#Location of .ipa after running shorebird_release via Fastlane

1 messages · Page 1 of 1 (latest)

chilly sparrow
#

I am using fastlane for my ios builds and have successfully been able to create shorebird builds and have them show up in the shorebird console. However, whenever I try to upload the build to testflight, I get an error saying "Could not find ipa file at path '/Users/runner/work///app/ios/build/ios/ipa/Runner.ipa'"

What is the path for a build that is created via shorebird_release in fastlane?

quasi glade
#

It should be the same as a vanilla flutter build

tired gorge
#

Can you share your fastfile? If the shorebird build succeeds, it should be in the location you shared

#

Oh, I think I see the issue. I think your fastfile is at the root of your project and not in your iOS dir

#

The ipa is in app/build/ios/ipa

chilly sparrow
#

@tired gorge yes, I had that path incorrect. I'm still running into an issue with the ipa not being found. I noticed that I'm getting an error earlier during ipa build that says my export options plist file cannot be found (highlighted in screenshot), but I'm not sure why it can't find it. Despite this, the shorebird release does seem to succeed (I can see it in the shorebird console) Does the path to the export options file need to be relative to the fastfile? For context, my Fastfile is in app/ios/fastlane/ and my export options plist is in app/ios.

tired gorge
#

Does the path to the export options file need to be relative to the fastfile?
I believe the export options path needs to be relative to the repo root

#

We've also recently added support for export_options to be passed to shorebird_release, if that would be easier for you

#

(not sure what you're configuring in your export options)

tired gorge
#

We also updated the plugin to play more nicely with match, so if you're using sync_code_signing or something else that invokes match to set up provisioning profiles, you may not need to provide export options at all

chilly sparrow
#

Ok, I'll try not including export options at all. I was using it to map my 2 bundle ids (app and home screen widget) to the respective match command

tired gorge
#

Great, let me know how it goes!

chilly sparrow
#

I got it to work - thank you!

tired gorge
#

Great! It's working without providing any export options at all?

chilly sparrow
#

yep! got it downloaded on my phone from testflight and everything