Xcode Unable to install App file to device

Shell
Go to File -> Workspace Settings, and make sure your build system is set to Legacy Build System.

I ran into the same issue on Catalina and Xcode 11.2 and this solved it for me.

As of Xcode 11 Apple is starting to enforce some of the build criteria that was previously only required for AppStore builds on .ipa extraction, and device builds.

So far I have encountered:

Requiring the above legacy build system setting for device deployments for older projects or projects that use older frameworks
Removing unused architectures to extract an ipa from an archive

Source

Also in Shell: