Enable introspection in macOS CI
This MR implements the configurational part of the changes to be able to build with introspection. It replaces !5190 (closed) because I accidentally created a new MR instead adding to the existing one, apologies for that.
Edited by René de Hesselle