我们的 CI 系统会自动创建新应用程序并使用以下命令将它们上传到 Crashlytics Beta:
./Crashlytics.framework/submit $CRASHLYTICS_API_KEY $CRASHLYTICS_BUILD_SECRET -ipaPath $IPA_PATH
当应用程序已在 Crashlytics 中激活时,这一切都可以正常工作。但要在 Crashlytics 中激活应用程序,我必须打开 Crashlytics 网站并在模拟器中运行 iOS 应用程序。
如果应用程序未激活,那么我们会收到错误:
无法添加测试人员:项目 my-project 处于非事件状态
有没有办法以自动方式向 Crashlyics beta 添加/激活新应用?
最佳答案
Hey @fcy,
Awesome question. Currently for an app to be added to Crashlytics and Fabric, we need to see both a build of the app and run of the event for it to be active. We do this to prevent apps from being automatically added by jail broken or rooted devices.
However, we have been thinking about adding a build only onboarding. I can keep you updated on this if you would like.
-Mike
https://twittercommunity.com/t/add-new-ios-app-to-crashlytics-beta-via-command-line/56620
关于ios - 通过命令行将新的 iOS 应用程序添加到 Crashlytics Beta,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33661166/