firebase-tools: [distribution] Requested entity was not found
[REQUIRED] Environment info
**firebase-tools:**7.12.1
**Platform:**macOS
[REQUIRED] Test case
When i try to upload my ipa using a specific appid i get an error although the appid exists
I run the following command
firebase appdistribution:distribute --app "1:696982949839:ios:c587f53961ad2c1df64cba" --release-notes 'test 1' --testers 'me@gmail.com' Runner.ipa --debug
and i get
Error: App Distribution could not find your app 1:696982949839:ios:c587f53961ad2c1df64cba. Make sure to onboard your app by pressing the "Get started" button on the App Distribution page in the Firebase console: https://console.firebase.google.com/project/_/appdistribution
[REQUIRED] Steps to reproduce
As you can see i run a firebase apps:list and i get my 2 apps. Then i run firebase appdistribution:distribute with the exactly same appid for my ios app and i get the error. The android app uploads just fine.

[REQUIRED] Expected behavior
ipa should be uploaded to the firebase distribution
[REQUIRED] Actual behavior
ipa should isn’t uploaded to the firebase distribution and i get errors firebase-debug.log
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (3 by maintainers)
For those that are facing this problem, a reminder: You need to press the “Get started” button twice (once for android and another time for iOS). I’ve spent a lot of time investigating this problem (because I did once for one platform) and figure out that I needed to do again for the other one … terrible “UX” and for sure it needs improvements to avoid such silly error
@ChristopherDrum I’m the PM of App Distribution. Enabling from the CLI is something on our roadmap and we want to add this. There are a few considerations we need to take into account that add a bit of complexity. I totally hear you that this would make initial onboarding a lot more seamless. I don’t have a timeline to share right now, but this is an improvement we will be making.
@mbleigh Is there a CLI way to enable App Distribution? Reading the docs for Firebase CLI it uses CLI for all steps except this one GUI button we have to click in the console to enable distribution. I’m trying to automate a prototyping workflow for my developers, and this step is hanging me up. Maybe Fastlane can upload and enable distribution? Not sure, but Fastlane is too heavy for what little I need to do (i.e. upload a single .ipa file). Fabric was relatively simple; as long as the app was launched and the bundle identifier registered with Fabric, an .ipa could be uploaded. Firebase lets me register the bundle ID programmatically, and upload programmatically, but this one in-between step (which seems kind of unnecessary to me) cannot be automated?
@feharaujo You’re a lifesaver! I fell into the same pitfall.
Did you follow the instructions in the error message? App Distribution must be enabled before you can use the cli to upload builds.
On Fri, Feb 7, 2020, 5:15 AM Giorgos Papadakis notifications@github.com wrote: