Code that compiled fine with XCode 12 / Big Sur fails on XCode 13/Monterey with the linker error:
"cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.tbd for architecture x86_64"
What is causing this? How can one link to the system Python2 framework? What changed in Monterey?