Xcode 12.2 building for wrong architecture?
On my MacBook Pro (Retina, 15-inch, Mid 2014 — 2.5 GHz Quad-Core Intel Core i7), running macOS Catalina 10.15.7 (19H15):
Today I allowed my App Store to upgrade my laptop to Xcode 12.2, it was previously on Xcode 12.1.
When I tried to recompile I got many load errors like this:
ld: warning: ignoring file /usr/local/Cellar/opencv/4.5.0_5/lib/libopencv_gapi.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
How do I get Xcode to build for the machine it is running on, like it did before today?
MacBook Pro 15″, macOS 10.15