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
文章讲述了作者在更新项目时遇到CommandPhaseScriptExecutionfailedwithanonzeroexitcode错误,通过查找Xcode本地日志和buildlog发现,原因是SetBundleVersion设置中未正确更新新的NotificationService。解决办法是在TARGETS>BuildPhases>SetBundleVersion中修正配置。
8616

被折叠的 条评论
为什么被折叠?



