Fabric API密钥无效 [英] Fabric API key not valid

查看:284
本文介绍了Fabric API密钥无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Fabric安装到我的iOS应用中。我下载了Fabric应用程序以安装Crashlytics,但是当我在应用程序提供的构建阶段中添加运行脚本时,在构建项目之后,我会收到错误消息:


第2行:1:myfirebaseid:ios:myfirebaseid = 1:my:app:id:未找到命令
发现Fabric.framework / run 1.7.0(208)错误:Fabric:配置
发出



Fabric API密钥无效。您的Fabric运行脚本构建阶段应
包含您的API密钥:./Fabric.framework/run INSERT_YOUR_API_KEY
INSERT_YOUR_BUILD_SECRET


一些答案​​建议从我做的plist中删除Fabric,错误消失了。但是后来,我无法完成Fabric的安装,我认为这是原因。那么在哪里可以找到我的Fabric API密钥和机密呢?

解决方案

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





在该页面中,选择组织





选择您的应用程序组织





在您的面料组织页面中选择API密钥





,然后在您的shell运行脚本中




I am trying to install Fabric to my iOS app. I downloaded the Fabric app to install Crashlytics but when I add the run script in build phase provided by the app, after I build the project I get the error:

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

Some answers suggested removing Fabric from plist which I did and the error got away. But later, I wasn't able to complete the installation of Fabric and I think that is the reason. So where can I find my Fabric API KEY and SECRET?

解决方案

After login in Fabric.io, select settings

in that page select Organizations

Select your app organization

In your fabric organization page select API Key

And add that number in your info.plist

and here in your shell run script

这篇关于Fabric API密钥无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆