ios – Fabric API密钥无效

前端之家收集整理的这篇文章主要介绍了ios – Fabric API密钥无效前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试将Fabric安装到我的iOS应用程序中.我下载了Fabric应用程序以安装Crashlytics但是当我在应用程序提供的构建阶段添加运行脚本时,在构建项目后我收到错误

line 2: 1:myfirebaseid:ios:myfirebaseid=1:my:app:id: command not
found Fabric.framework/run 1.7.0 (208) error: Fabric: Configuration
Issue

Fabric API key not valid. Your Fabric run script build phase should
contain your API key: ./Fabric.framework/run INSERT_YOUR_API_KEY
INSERT_YOUR_BUILD_SECRET

一些答案建议从我所做的plist中删除Fabric并且错误消失了.但后来,我无法完成Fabric的安装,我认为这就是原因.那么在哪里可以找到我的Fabric API KEY和SECRET?

解决方法

在Fabric.io中登录后,选择设置

enter image description here

在该页面中选择组织

enter image description here

选择您的应用组织

enter image description here

在您的结构组织页面中,选择API密钥

enter image description here

并在info.plist中添加该数字

enter image description here

在这里你的shell运行脚本

enter image description here

猜你在找的Xcode相关文章