[英]Shell Script Invocation Error with Crashlytics Xcode 8
When i try to run a script in my xcode 8 project i get this error 当我尝试在我的xcode 8项目中运行脚本时,我收到此错误
Shell Script Invocation Error Shell脚本调用错误
I know how to install fabric in xcode, i've successfuly installed in in xcode 7 in numerous projects without issue. 我知道如何在xcode中安装Fabric,我已成功安装在xcode 7中的许多项目中没有问题。 But now in a new project in xcode 8 i get this error.
但现在在xcode 8的新项目中我得到了这个错误。
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 我试图在我的Pod的Fabric文件夹中导航,并破坏了这个命令
chmod 755 run
chmod 755 upload-symbols
chmod 755 uploadDSYM
With no luck. 没有运气。 Any idea?
任何想法?
PS PS
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
So I changed 所以我改变了
${PODS_ROOT}/Fabric/run
to 至
"${PODS_ROOT}/Fabric/run"
In macOS Sierra beta. 在macOS Sierra beta中。
In my case after removing some library from CocoaPods script was trying to run from derived data something like: 在我的情况下,从CocoaPods脚本中删除一些库后,尝试从派生数据运行,如:
/Library/Developer/Xcode/DerivedData/ ......./Pods/Fabric/Fabric.framework/run: No such file or directory / Library / Developer / Xcode / DerivedData / ....... / Pods / Fabric / Fabric.framework / run:没有这样的文件或目录
So I cleared my derived data and it's no longer complaining 所以我清除了我的派生数据,它不再抱怨了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.