Sheeja CR
Sheeja CR

Reputation: 126

Shell Script Invocation Error with Fabric

I have installed Fabric and Crashlytics in my application using Cocoapods. I got an error while running the application and error message is given below.

Error :

/project-path/Pods/Fabric/run: Permission denied

Upvotes: 1

Views: 1515

Answers (2)

Sheeja CR
Sheeja CR

Reputation: 126

I have fixed the issue and steps for the same is given below.

  1. Open terminal and in your project go to the folder where fabric framework exist.if you are using pods then fabric will be inside pod folder (Command:- cd project-path/Pods).
  2. Run below commands in terminal once you have reached the corresponding folder path.

    chmod +x Fabric/run 
    
    chmod +x Fabric/uploadDSYM
    

Run the below commands, once you have reached the root folder (Command:- cd ..)

    pod deintegrate 

    pod install

Upvotes: 4

Sid Mhatre
Sid Mhatre

Reputation: 3417

Updated shell script with pods root path with fabric key which will generated while installing fabric signup in build Phase as shown below:

Refer Distribute Beta Builds and Distribute with iOS Build Tools

${SOURCE_ROOT}/Crashlytics.framework/submit <API_KEY> <BUILD_SECRET>

enter image description here:

Upvotes: 0

Related Questions