Catalyst - running macOS exec file using Process returns error

Running a Process executableURL path for a Catalyst target using a macOS type bundle returns the following error as output:

(/Applications/Xcode-15.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Debugger/libViewDebuggerSupport_macCatalyst.dylib), but incompatible platform (have \'MacCatalyst\', need \'macOS\'))

Is it possible to set which dylib platform is used by the macOS bundle executable file instead of using the MacCatalyst one?

Catalyst - running macOS exec file using Process returns error
 
 
Q