确保您已获得正确的访问权限。您需要具有Firebase项目的Owner或Editor权限,才能上传发布包。
检查您的API密钥是否正确。您可以在Firebase控制台中的项目设置中找到您的API密钥。确保在Bitrise的App项目和Firebase项目中都使用了正确的API密钥。
确保应用程序已正确设置Firebase App Distribution。您需要在Firebase控制台中启用Firebase App Distribution,并正确地将其集成到您的应用程序中。
检查您的构建设置是否正确。确保将您的APK或IPA文件上传到Firebase App Distribution,并将正确的分发组分配给该应用程序。您可以使用以下命令在Bitrise脚本中上传APK或IPA文件:
- deploy-to-firestore-beta-firebaseappdistribution:
inputs:
# Path to the APK or IPA file
apk_path: "$BITRISE_DEPLOY_DIR/app.apk"
# The Firebase project ID
firebase_project_id: "my-project-id"
# The Firebase App ID
firebase_app_id: "1:1234567890:android:abcdefghij"
# The Firebase App Distribution token
distribution_token: "$DISTRIBUTION_TOKEN"
# The distribution group to use
distribution_group_id: "my-group"
确保这些值已正确设置,并且您正在使用正确的参数。
上一篇:Bitrise的“部署到itunesconnect步骤失败,尽管有配置文件和证书。
下一篇:Bitriseflutterbuildkeepsusingolderversionsofflutter/dart