Xcode 10 Multiple command error but working fine on Xcode 9.2

Hello Swift Community,
I was running a project on Xcode 9.2 & it was working fine but after upgrade Xcode 10. Following error is throwing:
Can't find its solution till now after multiple searches. Looking for some helpful responses.

Multiple commands produce '/Users/macbook/Library/Developer/Xcode/DerivedData/Project/Build/Products/Debug-iphoneos/Project.app':

  1. Target 'Project' has create directory command with output '/Users/macbook/Library/Developer/Xcode/DerivedData/Project/Build/Products/Debug-iphoneos/Project.app'

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

Thanks

Regards
Nawazish Abbas