Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

/Fabric.framework/run: Permission denied

While running my App I am getting

Path/Library/Developer/Xcode/DerivedData/app-hhrnpfyhpluwgwcdjsjkbeehwwqs/Build/Intermediates/app.build/Debug-iphoneos/app.build/Script-C0EDB4D81B6759AC0067631D.sh: line 2: ./Fabric.framework/run: Permission denied

If any one faced the similar issue , please suggest me the way to fix this?

I am running in Xcode 7.0 , iOS 9

I have this in my plist

enter image description here

Any helps is appreciated!

Edit :This solved my issue:

Step:1: Sign up for Fabric Here

Step:2: Follow the steps as mentioned in this LINK and add the key for fabric framework in info.plist and "Run Script" as shown here

like image 827
soumya Avatar asked Oct 29 '15 06:10

soumya


2 Answers

I faced this issue when I cloned a repo and Fabric binaries were already there (commited by other developer). The solution was to run this commands in project folder and after then the xcode build succeeded:

chmod +x Fabric.framework/run
chmod +x Fabric.framework/uploadDSYM
like image 191
Peter Avatar answered Oct 07 '22 16:10

Peter


Permission issue solved with fabric 3.7.1 with cocoa pods:

Installed Fabric with:

pod 'Fabric'

pod 'Crashlytics'

Now import below two headers in "AppDelegate.h" class

  #import <Fabric/Fabric.h>     
  #import <Crashlytics/Crashlytics.h>

Add below line in didFinishLaunchingWithOptions:(NSDictionary *)launchOptions:

[Fabric with:@[[Crashlytics class]]];

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

enter image description here

and added Api key in plist as shown :

enter image description here

With this integration now Crashlytics shows all the live devices count , App Store crashes with build versions and active users

Reference: https://docs.fabric.io/apple/examples/cannonball/index.html

like image 32
soumya Avatar answered Oct 07 '22 16:10

soumya