CocoaVersionCheck is a quick hack that allows one to use Cecil to scan your application for APIs unavailble after the selected minimum macOS version.
./CocoaVersionCheck/bin/Debug/CocoaVersionCheck.app/Contents/MacOS/CocoaVersionCheck $PATH/Foo.app
git submodule update --init --recursive && xbuild CocoaVersionCheck.sln