Testers could not download app from Firebase App Distribution

好久不见. 提交于 2019-12-13 20:45:24

问题


We pushed iOS app to Firebase distribution and sent invitations to every tester. Our testers followed all steps and get ready to test the app. Unfortunately, the testers get the message “ The developer needs to update their app so that it can run on your device. You'll get an email once the app is ready to test.“ once they tried to download the app to their iOS. We can be sure that we built the app as a production version.

Can you guys give me ideas for the issue?


回答1:


Thanks guys. My issue is I built my app with export_method was app-store, the right method should have been ad-hoc. I changed my export_method to ad-hoc and it works as I expect.

If someone changed the export_method and still get the error. Please check Vincenzo's answer




回答2:


That message from your tester means that the tester's udid isn't in the provisioning profile of the uploaded app. When a tester registers their device with App Distribution in the tester onboarding flow, App Distribution collects the udid and sends it to you. Thus you would need to add the udid to the provisioning profile, rebuild the app and send it out again.




回答3:


As I'm using the service for the first time, I initially thought I didn't understand how it actually works, or it was too stupid to be true, but then it actually behaved as expected. My first experience worked like this:

  1. I exported my app with my current provisioning file (Developer, not Enterprise) and uploaded it to firebase distribution (1st time).

  2. I sent to my testers a link to download and install an app that they can't use because their device UUID is not registered in my provisioning file.

  3. I got a mail with their device UUID of my first tester and add it to my provisioning file.

  4. I exported again the app and upload it again (2nd time).

  5. It created a new distribution so I sent him a second link to download and install the second version that now should work.

  6. My second tester accepted and I received a second mail..added, exported and uploaded (third time).

  7. This time on console it show a big blue rectangle with the message that the version was updated with new devices and testers will be notified by mail. ( this is how I actually expected it to work ).

What can have happened on my 2nd upload? Would an Enterprise certificate avoid all this device UUID registering part?




回答4:


I finally got to resolve the problem.

The whole problem has to do with Provisioning Profiles. When you have to export for Firebase App Distribution is clearly stated in their docs that an ad-hoc export should be used, but the whole procedure and options are sparsely explained..

So here are the necessary steps:

  1. In your developer account generate a new Distribution certificate.
  2. Generate a new profile for distribution.
  3. For the new profile select the right AppId, the Distribution certificate, choose ad-hoc, and select the Device UUIDs you want(the tester's)
  4. In Xcode keep Automatic signing checked, and use your Developer profile.
  5. Make sure to update your profile:Xcode/Preferences `Download Manual Profiles' button.
  6. Make sure that in both Target/Building Settings/Signing and Project/Building Settings/Signing shows you iOS Developer profile under both Debugand Release not the Keychainone, but the Automatic one, else select it yourself.
  7. Archive the project. Product/Archive.
  8. Export the .ipa:
  9. If Xcode doesn't get you to the organiser window open it Windows/Organizer
  10. Select the proper App(from the left ìOS Apss`column) and archived file ( the latest is at the top of the list.
  11. Choose Distribute App button.
  12. Select a distribution method (Ad Hoc in this case)and click Nextbutton. Keep in mind that Each method require its own Certificate and Provisioning Profile..
  13. Choose options ( I left it as is..) and click Nextbutton.
  14. Re-signing the App is where things go wrong, keep Automatic ( here is where Xcode connects to your Developer account and sign the app with the Distributioncertificate and profile.
  15. Once all the compiling has finished just click Export button.
  16. Choose where to store the files on your computer and click Export.

Hope this step-by-step guide will be helpful to others..as the whole process is described very unclearly explained by the docs and puzzling all the info is quite frustrating..

Cheers.



来源:https://stackoverflow.com/questions/58262038/testers-could-not-download-app-from-firebase-app-distribution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!