关于That command depends on command in Target ... script phase Copy Pods Resources

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-1 18:12   11   0

最近在最新的Xcode11.5中编译从Github上下载的老项目,出现一个bug,提示如下:

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”

出现该问题是因为自Xcode10之后默认使用的build system是New build system,我们只要将build system设置成legacy build system就好了。

操作如下图:

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP