Search code examples
iosswiftcocoapodsgoogle-fabric

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


Solution

  • 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