There are two common forms of error:

1, the info. Plist

The error message

Multiple commands produce '/Users/tjsoft/Library/Developer/Xcode/DerivedData/TYKYTwoLearnOneDo-amcfzswumxdotlgjwdslugmywxch/Build/Products/Debug-i phoneos/TYKYTwoLearnOneDo.app/Info.plist': 1) Target 'TYKYTwoLearnOneDo' (project 'TYKYTwoLearnOneDo') has copy command from '/Users/tjsoft/TYKY / party/qian ji/QianJiDangJian_iOS TYKYTwoLearnOneDo/Info. The plist 'to '/Users/tjsoft/Library/Developer/Xcode/DerivedData/TYKYTwoLearnOneDo-amcfzswumxdotlgjwdslugmywxch/Build/Products/Debug-i phoneos/TYKYTwoLearnOneDo.app/Info.plist' 2) Target 'TYKYTwoLearnOneDo' (project 'TYKYTwoLearnOneDo') has process command with output '/Users/tjsoft/Library/Developer/Xcode/DerivedData/TYKYTwoLearnOneDo-amcfzswumxdotlgjwdslugmywxch/Build/Products/Debug-i phoneos/TYKYTwoLearnOneDo.app/Info.plist'Copy the code

2, Copy Pods Resources

The error message

Multiple commands produce '/Users/satoshi_uma/Library/Developer/Xcode/DerivedData/Hospital-bztfekjhqhihnxaarhkecyjfvdyc/Build/Products/Debug-iphon eos/***.app/NIMKitEmoticon.bundle': 1) Target 'Hospital' (project 'Hospital') has copy command from '/ Users/satoshi_uma version/Desktop/huawei/ys - app - develop/ios/at/Resource/NIMKitEmoticon bundle' to '/Users/satoshi_uma/Library/Developer/Xcode/DerivedData/Hospital-bztfekjhqhihnxaarhkecyjfvdyc/Build/Products/Debug-iphon eos/***.app/NIMKitEmoticon.bundle' 2) That command depends on command in Target 'Hospital' (project 'Hospital'): Script phase "[CP] Copy Pods Resources"Copy the code

There are two solutions. One is not to use the New Build System. Switch New Build System(Default) to Legacy in Share Project/Workspace Settings under File > Project/Workspace Settings The build system.

The second is to remove redundant references to rebuild in the newly created system mode based on the error message.

Info.plist

Locate info.plist in target -> Build Phase > Copy Bundle Resource and remove it

Copy Pods Resources

In target -> Build Phase > Copy Pods Resources -> Output Files, remove ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}

Xcode 10 about Error: Multiple Commands produce