The destination does not support the architecture for which the selected software is being built

advertisements

Today I was creating a shared library in a project containing multiple targets where I first had only one (and no shared lib) when all of a sudden my project produced the following error when trying to run.

"The destination does not support the architecture for which the selected software is built. Switch to a destination that supports that architecture in order to run the selected software."


Do not change the bundle name and the Executable file in info.plist. I changed them and got this error. After I changed them to default, the error's gone.