Multiple commands produce '/Users/abc/Library/Developer/Xcode/DerivedData/MyProject-cworwzaxajsmfkcfvourofovbggd/Build/Products/QA-iphonesimulator/MyProject.app':
1) Target 'MyProject' has create directory command with output '/Users/abc/Library/Developer/Xcode/DerivedData/MyProject-cworwzaxajsmfkcfvourofovbggd/Build/Products/QA-iphonesimulator/MyProject.app'
2) That command depends on command in Target 'MyProject': script phase “[CP] Copy Pods Resources”
It seems like a script in Copy pods resources
is conflicting with the normal build command. I have tried all the available solutions
copy bundle resources
. product module
name under Build settings
to
a unique one.Copy Bundle Resources
Temporary Fix: Xcode > File > Workspace Settings > Build System > Choose "Legacy Build System"
Attaching my Copy Pods Resources
screenshot
@birdcage - Update CocoaPods> Terminal
sudo gem update cocoapods
Then Delete Pods folder,.xcworkspace then delete Podfile.lock
then reinstall all library.
pod install
Changing build systems to Legacy Build System
works for me.
Xcode => File => Workspace Settings => Build System => Change to "Legacy Build System"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With