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

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐