QMChatViewController-ios icon indicating copy to clipboard operation
QMChatViewController-ios copied to clipboard

[Xcode 11] Multiple commands produce....

Open roasted-almond opened this issue 5 years ago • 1 comments

Hi, please advise a solution:

error: Multiple commands produce '/Users/agmostudio/Library/Developer/Xcode/DerivedData/adsdasdas-agayvqesxbjfpvfwmwvdeqvsxmem/Build/Products/Debug-iphoneos/adsdasdas.app/Assets.car':

  1. Target 'adsdasdas' (project 'adsdasdas') has compile command with input '/Users/aaa/Desktop/Projects/POC/adsdasdas/adsdasdas/Assets.xcassets'
  2. That command depends on command in Target 'adsdasdas' (project 'adsdasdas'): script phase “[CP] Copy Pods Resources”

roasted-almond avatar Feb 04 '20 14:02 roasted-almond

I added this line at the top of my Podfile, just below the platform statement and it fixed the duplicate assets problem

install! 'cocoapods', :disable_input_output_paths => true

See https://stackoverflow.com/questions/57740477/cant-assign-xcassets-to-the-main-target-on-xcode-11 for discussion

croesus avatar Apr 11 '20 10:04 croesus