I ended up having to compile each OS version with the matching XCode. Build three times, once each for Catalina, BigSur and Monterey. Each with a different version of XCode (11, 12 and 13) using EXPORT DEVELOPER_DIR=/pathto/XCode-NN etc before the xcodebuild
Topic:
App & System Services
SubTopic:
Drivers
Tags: