Shell Script Invocation Error with Crashlytics Xcode 8
Solution 1
So I changed
${PODS_ROOT}/Fabric/run
to
"${PODS_ROOT}/Fabric/run"
In macOS Sierra beta.
Solution 2
In my case after removing some library from CocoaPods script was trying to run from derived data something like:
/Library/Developer/Xcode/DerivedData/ ......./Pods/Fabric/Fabric.framework/run: No such file or directory
So I cleared my derived data and it's no longer complaining
Konstantinos Natsios
Hello. My name is Konstantinos and I'm from Greece. Finished my Bachelor at Electronic Engineer at Technological Education Institute of Athens. I also did a full 6 month studies with the Erasmus programm, at Universidade Nova de Lisboa. My passion is web and mobile development. Started with some Chrome Extensions and now I'm working as an iOS Software Engineer @ xm.com
Updated on August 17, 2022Comments
-
Konstantinos Natsios over 1 year
When i try to run a script in my xcode 8 project i get this error
Shell Script Invocation Error
I know how to install fabric in xcode, i've successfuly installed in in xcode 7 in numerous projects without issue. But now in a new project in xcode 8 i get this error.
When i delete the script there is no error at all.
The script has the following style.
/bin/sh ${PODS_ROOT}/Fabric/run API KEY OTHERKEY
I tried to navigate inside Fabric folder of my Pod, and runed this command
chmod 755 run chmod 755 upload-symbols chmod 755 uploadDSYM
With no luck. Any idea?
P.S.
the error is the following
/Users/kwstasna/Library/Developer/Xcode/DerivedData/APPNAME-fmbbqrezzwnumzdatywvlcxvqdob/Build/Intermediates/APPNAME.build/Debug-iphoneos/APPNAME.build/Script-6EA07B731D93E6ED00FD0CE8.sh: line 2: /Users/kwstasna/Desktop/open: No such file or directory