/Fabric.framework/run: Permission denied
Asked Answered
G

6

18

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

Gorgon answered 29/10, 2015 at 6:32 Comment(2)
Create account in Fabric, create App and login through it. and then Run again..and SucceessAmu
see this link may be helps you #19078227Staysail
I
46

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
Interpolation answered 19/12, 2016 at 7:31 Comment(0)
G
3

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

Gorgon answered 27/6, 2016 at 8:50 Comment(0)
C
3

I faced same issue and fixed this by modifying file permissions by executing following command in terminal:

chmod a+x Path/Library/Developer/Xcode/DerivedData/app-hhrnpfyhpluwgwcdjsjkbeehwwqs/Build/Intermediates/app.build/Debug-iphoneos/app.build/Script-C0EDB4D81B6759AC0067631D.sh
chmod a+x ios_workspace/project/Pods/Fabric/run
chmod a+x ios_workspace/project/Pods/Fabric/uploadDSYM

Note: Update path to uploadDSYM, run and .sh file accordingly

Crow answered 20/8, 2017 at 22:13 Comment(0)
D
3

This issue is caused by lack of access permission of the run file in Fabric.framework. You can find two files named run and uploadDSYM in the folder Fabric.framework of your project. Using terminal command below has solved my issue.

chmod 777 run
chmod 777 uploadDSYM
Daryn answered 21/12, 2018 at 15:12 Comment(0)
I
0

use chmod 777 YOUR_WORKSPACE_PATH

Imputation answered 19/2, 2018 at 9:15 Comment(0)
P
0

I you'll not lose code doing a kind of clean in your pods, you can do this

pod deintegrate

then:

pod install

After this your project should be just fine

Praedial answered 21/6, 2020 at 22:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.