@edford Thanks for your response. Could you please clarify this as well?
You should undo this. Setting anything in the Excluded architectures is almost always wrong except in carefully considered situations.
Here I am using an old Framework in my project, it does not work in the arm64. So I have added this in the Excluded Architecture. But the same will work in other lower versions of Xcode. As per your workarounds here I do not need to add the Excluded archs in the project. Am I correct?
One of your build phases has a reference to the built app binary as an input. When you cleared DerivedData, this file was deleted, and so now the build can't proceed because it's missing. Look through all of your build phases as well as the Xcode file navigator for any file references that refer to these files and remove them.
Shall I need to check this in the Build Phases under Compile Sources files? But I not found the file name as the error in app. It is the first build in my machine with Xcode 12.5.1