前言:
记录错误,方便查找,避免浪费不必要的时间。
Xcode10 打开旧项目报错Multiple commands produce定位到Info.plist解决方案
报错内容如下:
Showing Recent Messages
:-1: Multiple commands produce >
'/Users/apple/Library/Developer/Xcode/DerivedData/spor-
alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-
iphoneos/spor.app/Info.plist':
Target 'spor' (project 'spor) has copy command from
'/Users/apple/Downloads/NoAppNoPush/spor/External/Masonry/Info.plist>to '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist'Target 'spor' (project 'spor') has process command with output '/Users/apple/Library/Developer/Xcode/DerivedData/spor-alxyeeddbojurrdoaxniuovitgdw/Build/Products/Debug-iphoneos/spor.app/Info.plist'
如下图:
报错内容
WX20190404-101345@2x.png
image.png解决方案(1):
选择 xcode -> File -> Project Seetongs.... -> Shared Project Seetings: -> Build System -> Legacy Build System ->Done
选择蓝色的 -> Done -> 编译通过
(这种方法不建议用,不明白有点儿)解决方案(2):Info.plist错误
根据提示信息,选中对应的target-> Build Phases -> Copy Bundle Resource -> 移除Info.plist
Xcode 10 Error: Multiple commands produce 如果定位到某app
请看如下连接:Xcode 10 Error: Multiple commands produce
网友评论