Command PhaseScriptExecution failed with a nonzero exit code
Xcode编译一直报错:Command PhaseScriptExecution failed with a nonzero exit code
·
Print: Entry, ":CFBundleVersion", Does Not Exist
Parse Error: Unclosed Quotes
Value Required for Set Command
Command PhaseScriptExecution failed with a nonzero exit code
重新安装创建添加一个NotificationService,编译一直报这个“Command PhaseScriptExecution failed with a nonzero exit code”
尝试了删除重装cocoapods,清空缓存都不行,浅记一下最终的解决方法:
解决问题一定要找到问题的所在,
第一步:从xcode找到local log
第二步:点击build看详细的log
第三步:找到问题点改下的配置就OK了,这次问题原因是我创建了新的NotificationService,在SetBundleVeision里的NotificationService还是之前创建的NotificationService,所以 “CFBundleVersion”一直找不到新创建的NotificationService
SetBundleVeision路径:TARGETS -> Build Pgases -> SetBundleVeision
更多推荐
已为社区贡献1条内容
所有评论(0)