6

I'm trying distribute app using firebase app distribution via fastlane. When I run firebase_app_distribution, it seems to login into Google successfully but somehow at the end it returns 404.

I login in to Google using GOOGLE_APPLICATION_CREDENTIALS

Here is my log.

[12:19:16]: Authenticating with GOOGLE_APPLICATION_CREDENTIALS environment variable:'<path here>'
[12:19:16]:  Authenticated successfully.
[12:19:16]: ⌛ Uploading the IPA.
+------------------+---------------------+
|              Lane Context              |
+------------------+---------------------+
| DEFAULT_PLATFORM | ios                 |
| PLATFORM_NAME    | ios                 |
| LANE_NAME        | ios distribute_beta |
+------------------+---------------------+
[12:19:18]: the server responded with status 404

What am I doing wrong?

Bigair
  • 1,452
  • 3
  • 15
  • 42

1 Answers1

31

I had the same issue. I would suggest you following this instruction

  1. Go to your Firebase console

  2. Click App Distribution section under the Release & Monitor tab

  3. Select your project

  4. Verify if the Get Started button has been pressed

Simple thing but useful

grigorevp
  • 631
  • 6
  • 13
Pavlo
  • 331
  • 2
  • 2
  • I missed that 4th point ... – Wahab Khan Jadon Oct 04 '22 at 10:08
  • King! worked like a charm! ;) – Jad Oct 06 '22 at 18:35
  • Worked !! This should be marked as a valid answer. – Mathieu de Brito Nov 09 '22 at 20:45
  • What is weird is even though I had pressed "Get Started" for my android app and had already released test apps for Android. After I added my iOS app to the firebase project, I needed to press "Get Started" again. This seems like a bug in Firebase. – Ben Butterworth Dec 04 '22 at 22:40
  • Another thing I'd say is I will probably not even use Firebase App Distribution for iOS apps, because apps needs to be rebuilt with an updated provisioning profile for each new test device added. – Ben Butterworth Dec 04 '22 at 22:54
  • Wow, this was so silly that firebase was rejecting the upload because the get started was not clicked. Thanks for your answer, it worked – Appy Mango Feb 05 '23 at 21:19
  • I know Stack Overflow doesn't like people piling on with these kinds of comments, but thank you so much ... I was totally lost until I found this answer. – Brian Sachetta May 22 '23 at 16:26