使用Mapbox时,命令PhaseScriptExecution失败,退出代码为非零 [英] Command PhaseScriptExecution failed with a nonzero exit code when using Mapbox

查看:170
本文介绍了使用Mapbox时,命令PhaseScriptExecution失败,退出代码为非零的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,我出现了波纹管错误.

I have had the bellow error for some time now.

  • 我尝试创建新项目
  • 解决项目中的问题
  • 重置所有可可豆荚和更多

但是我仍然无法摆脱这个错误.

And yet I have still not been able to get rid of this error.

以下错误:

/Users/myUsername/Desktop/MapboxMap117/Pods/Target Support Files/Pods-MapboxMap117/Pods-MapboxMap117-frameworks.sh: line 114: local: `/Users/myUsername/Desktop/MapboxMap117/Pods/Mapbox-iOS-SDK/dynamic/826E141E-8875-3C3B-A106-2B772F8A0684.bcsymbolmap': not a valid identifier

Command PhaseScriptExecution failed with a nonzero exit code

我也得到了:(不知道是否相关)

/Users/myUsername/Desktop/MapboxMap117/Pods/Target Support Files/Pods-MapboxMap117/Pods-MapboxMap117-frameworks.sh: line 114: local: `=': not a valid identifier

如何解决此错误?

注意:

这可能与我称为"mapVC"的"mainVC"中的代码有关.我认为这是因为当我删除其中的所有代码或将其注释掉时,该项目不会得到错误.

It may have something to do with the code in my "mainVC" which I call "mapVC". I think this because when I get rid of all the code in there or comment it out the project does not get the error.

推荐答案

/Users/myUsername/Desktop/MapboxMap117/Pods/Target Support Files/Pods-MapboxMap117/Pods-MapboxMap117-frameworks.sh: line 114: local: `=': not a valid identifier

我认为问题可能出在此.我遇到了类似的问题,当我摆脱空格时,在"="周围有空格,从而解决了该问题.

I believe the problem is likely coming from this. I have had a similar problem where I had spaces around the "=" when I got rid of the spaces it fix the problem.

  • 转到该位置并摆脱空间.
  • 重新构建

问题应解决.

这篇关于使用Mapbox时,命令PhaseScriptExecution失败,退出代码为非零的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆