Xcode: unable to find sdk max osx 10.6
I have Xcode Ver. 11.4 and I am attempting to compile and install an old C++ program that ran just fine in 2011 or so when the Mac operating system was Mountain Lion or Lion. The code compiles cleanlly but i get a linking error: "Unable to find sdk mac osx 10.6". I assume this has someting to do with Mountain Lion or an earlier version of Xcode.
What is my workaround?? I really need to get this code working.
iMac with Retina 5K display, macOS 10.15