Multiple commands produce

2020-08-24  本文已影响0人  塞北孤雁

1、错误:xx.app

:-1: Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/xxx-gkttrflwrjbhrcfecpzefanisuxz/Build/Products/Debug-iphonesimulator/xx.app':

1)Target 'xxx' has create directory command with output '/Users/user/Library/Developer/Xcode/DerivedData/xxx-gkttrflwrjbhrcfecpzefanisuxz/Build/Products/Debug-iphonesimulator/xx.app'

2)That command depends on command in Target 'xxx': script phase“[CP]Copy Pods Resources”

错误发生在[CP] Copy Pods Resources,且与output有关。

解决方案:根据提示信息,选中对应的target -> Build Phases -> [CP] Copy Pods Resources -> Output Files -> 移除{TARGET_BUILD_DIR}/{UNLOCALIZED_RESOURCES_FOLDER_PATH} -> build

2、错误:Info.plist

:-1: Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/xxx-exfgtfjwbnuxosetescfonvyzrns/Build/Products/Debug-iphoneos/dtkeyboard.appex/Info.plist':

1)Target 'xxx'(project 'xxx')has copy command from '/Users/xulefeng/Documents/Biu/zhuangbility/dtkeyboard/Info.plist' to '/Users/xulefeng/Library/Developer/Xcode/DerivedData/xxx-exfgtfjwbnuxosetescfonvyzrns/Build/Products/Debug-iphoneos/dtkeyboard.appex/Info.plist'

2)Target 'xxx'(project 'xxx')has process command with output '/Users/xulefeng/Library/Developer/Xcode/DerivedData/xxx-exfgtfjwbnuxosetescfonvyzrns/Build/Products/Debug-iphoneos/dtkeyboard.appex/Info.plist'

解决方案:根据提示信息,选中对应的target-> Build Phases -> Copy Bundle Resource -> 移除Info.plist

上一篇 下一篇

猜你喜欢

热点阅读