Firebase 应用分发 - "Waiting for developer" 消息

Firebase App Distribution - "Waiting for developer" message

我正在开发一个 iOS 应用程序并使用 App Distribution 将我的测试版本分发给 QA 团队,我之前没有遇到任何问题,一切都很顺利(考虑到 iOS development hehe)...不过最近遇到一个问题,解决不了,也没找到相关文档

我不断地向项目添加新的测试设备(随着 QA 团队的成长)并遵循相同的步骤...

但是这个案例不一样...因为在这个iPhone最新iOS版本的XS Max中,下载按钮永远不会出现,我们只能看到以下信息:“等待开发者".

我尝试了很多不同的解决方案,重新下载并导入配置文件,重新分发应用程序,创建新配置文件,在 Fastlane 中强制使用新设备,在开发者控制台中删除并重新添加 UDID...该死...我在我的愤怒中创建新证书哈哈哈...但问题仍然存在,以前有人遇到过这个问题吗?

更新

我向 Firebase 支持中心发送了一张票,他们告诉我 UDID 不在分发配置文件中,所以我的解决方案是重新创建配置文件,因为下载和导入临时配置文件不起作用.

此问题不是 Firebase 问题,它是与 iOS signing hell 相关的经典问题。

我在尝试为 Firebase 测试添加设备时遇到了同样的问题。 我从 Firebase 故障排除中获取了所有说明。

If you're installing an Ad Hoc distribution, the Waiting for developer button appears when the developer hasn't yet configured their app to run on your test device. To make their app available to you, the developer must complete the following steps:

  • Add the test device's UDID in the Apple Developer portal (the UDID is emailed to the developer when you register the device to Firebase).

  • Include the device in the app's provisioning profile.

  • Build the app using the updated provisioning profile.

  • Distribute the new build using the Firebase console, the CLI, or fastlane.

https://firebase.google.com/docs/app-distribution/troubleshooting?platform=ios#waiting-dev-ios

然后我注意到我的所有配置文件(对我来说是文件夹 /Users/user/Library/MobileDevice/Provisioning 配置文件)不包括新设备的 UDID。如果您选择查看模式或右键单击它,select“获取信息”并展开“预览”块,则可以预览每个文件。如果您滚动到底部,您将看到带有您设备代码的块“PROVISIONED DEVICES”。 对我来说,当我发现描述有“IOS Team Provisioning Profile:my.bundle.name”和“Developer Profile Name:my.bundle.name”的文件时,问题就解决了(“Developer Profile Name”是配置文件名称您会在 https://developer.apple.com/account/resources/profiles/list 的配置文件列表中看到)。

  1. 我从 /Users/user/Library/MobileDevice/Provisioning 配置文件中移动了 2 个文件(描述从“IOS 团队供应配置文件:my.bundle.name”和“开发人员配置文件名称:my.bundle.name”开始)到另一个文件夹(我怕丢了没有删除,只是移动了)
  2. 已打开 XCode
  3. 所选菜单 XCode -> 首选项
  4. 所选帐户
  5. 选择我的电子邮件帐户名
  6. 选择 MyTeamName 并单击按钮“下载手册配置文件”
  7. 选择我的个人资料并单击“下载手册资料”按钮

在“Provisioning Profiles”文件夹中出现两个新的配置文件后,我在它们的描述底部找到了我的设备名称。 然后我清理了项目重建应用程序文件并将其分发到测试中并且一切正常。