About That command depends on command in Target ... script phase Copy Pods Resources error message solution

Recently, when I was compiling an old project downloaded from Github in the latest Xcode11.5, a bug appeared. The prompt is as follows:

Multiple commands produce '/xxx.app':
1) Target 'xxx' has create directory command with output '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-cbvukcttkoparwddqctpdtspmcov/Build/Products/Debug-iphonesimulator/xxx.app'
2) That command depends on command in Target 'xxx': script phase “[CP] Copy Pods Resources”

This problem occurs because the default build system used since Xcode10 is the New build system. We only need to set the build system to the legacy build system.

The operation is as follows:

Guess you like

Origin blog.csdn.net/qq_37269542/article/details/106563317