3

Xcode 编译项目报错 `Command PhaseScriptExecution failed with a nonzero exit code...

 5 months ago
source link: https://blog.kelu.org/tech/2023/11/25/mac-xcode-command-phasescriptexecution-failed-with-a-nonzero-exit-code.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Xcode 编译项目报错 `Command PhaseScriptExecution failed with a nonzero exit code`

2023-11-25     tech mac xcode iOS
iOS.jpg

去年的一个项目,报了这个错:

191701069844_.pic_hd.jpg

搜索了一番,这么解决:

  1. 删除Podfile.lock文件
  2. 删除Pods文件
  3. 删除.xcworkspace文件
  4. pod install
  5. Command+Shift+K 清理一下缓存

后来请教大佬,xcode升级之后就需要在目录Pods/Target Support Files/xxx里手动加-f也可以:

image-20231128165011740

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK