Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios /bin/sh::没有这样的文件或目录Splunk MINT SDK_Ios_Iphone_Xcode_Bash_Shell - Fatal编程技术网

Ios /bin/sh::没有这样的文件或目录Splunk MINT SDK

Ios /bin/sh::没有这样的文件或目录Splunk MINT SDK,ios,iphone,xcode,bash,shell,Ios,Iphone,Xcode,Bash,Shell,我正在使用link实现BugSense 我添加了用于配置服务器端符号的脚本 SCRIPT=/usr/bin/find“${SRCROOT}”-name splunkmint_postbuild_dsym_upload_SCRIPT.sh|head-n1 /bin/sh“${SCRIPT}”API\U密钥“API\U令牌” 但是当我编译我的项目时,xcode给出 /bin/sh::没有这样的文件或目录我得到了解决方案。 我没有正确添加SplunkMint.framework,它只被引用,但不存在于

我正在使用link实现BugSense

我添加了用于配置服务器端符号的脚本

SCRIPT=
/usr/bin/find“${SRCROOT}”-name splunkmint_postbuild_dsym_upload_SCRIPT.sh|head-n1
/bin/sh“${SCRIPT}”API\U密钥“API\U令牌”

但是当我编译我的项目时,xcode给出

/bin/sh::没有这样的文件或目录

我得到了解决方案。 我没有正确添加SplunkMint.framework,它只被引用,但不存在于bundle中。在bundle中添加被引用的SplunkMint.framework后,我在其他链接器标志(内置设置)中设置“-ObjC”和“-all_load”,然后编译。
现在它可以正常工作了

请正确设置问题格式,以便清楚实际脚本是什么(将代码标记为
code
,保持换行符完整,不要插入额外的换行符…)我得到的答案是我的SplunkMint路径不正确。SplunkMint.framework仅被引用,但不存在于捆绑包中。在其他链接器标志中,在bundle中添加框架后添加“-ObjC”和“-all_load”标志。如果您找到了解决方案,请添加您(自己)问题的答案并接受它。因此,问题不会显示为未回答(浪费人们的时间)