Build input file cannot be found

While creating the archive of the iOS app in Xcode 12.4, I ran into "build input file cannot be found" error, this error is in the DerivedData folder ("/DerivedData/xyz.app" file cannot be found).

I tried these steps but was not able to solve the issue:

  1. Cleaning the build folder & Build & Archive.
  2. Cleaning the DerivedData, restarting Xcode & Archive again.

Are there any different steps that I should perform ?

Thank you !

Any solutions? I'm becoming mad on this one!

Build input file cannot be found
 
 
Q