iOS Command PhaseScriptExecution failed with a nonzero exit code错误

当我们在xcode中关联两个项目时(即两个target),有时会报这个错误:

Command PhaseScriptExecution failed with a nonzero exit code

如图:

 

 

解决办法:

Xcode菜单栏选择File -> Workspace Setting -> Build System 选择Legacy Build System

 

 

 

posted @ 2022-02-16 15:39  小菜看代码  阅读(8328)  评论(0编辑  收藏  举报