error: Multiple commands produce error in Xcode 10


error: Multiple commands produce '/Users/uesr/Library/Developer/Xcode/DerivedData/ OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/':
  1. Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/ Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/ OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/ Debug-iphoneos/'
  2. Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/ Server/Masonry/Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/ Debug-iphoneos/'
  3. Target 'OptimalLive' has process command with input '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/ OptimalLive/Info.plist'

This issue might occur due to the presence of multiple Plist files with the App.If you check the error details, lines (1) and (2) have different paths. So, it is likely that have this file has been defined twice. This can be resolved in the following way:

Check the target properties->Build Phases->Copy Bundle Resources and search for a duplicate info.plist. Find out which path is incorrect and remove it. You'll probably need to delete it from the filesystem also.

To do this follow this path: Solution->Open target > Build phase > Copy Bundle Resource > remove info.plist from here.

error: Multiple commands produce '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/':

For this build error, if you are having issue with Xcode 10 build system, please follow the below mentioned steps to fix this.

  1. Firsty,in Xcode, go to File->Project/Workspace settings.
  2. Then change the build system to Legacy Build system.
This will resolve the build issue with the new Xcode 10.


Solution Didn't Worked 2 DownvotesDownvote



Play 2048 Game Online

Search Tags