Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fabric API key not valid

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?

like image 980
Student Avatar asked May 11 '18 07:05

Student


1 Answers

After login in Fabric.io, select settings

enter image description here

in that page select Organizations

enter image description here

Select your app organization

enter image description here

In your fabric organization page select API Key

enter image description here

And add that number in your info.plist

enter image description here

and here in your shell run script

enter image description here

like image 185
Reinier Melian Avatar answered Oct 13 '22 19:10

Reinier Melian