When using the Xcode template for XPC service and compiling, the generated binary crashes.
To reproduce select File, New, Project, XPC Service, give the name “Sample” and store with defaults. Compile. Try to run the generated binary.
$ Debug/Sample.xpc/Contents/MacOS % ./Sample
[1] 44094 illegal hardware instruction ./Sample
Filed it with feedback assistant https://feedbackassistant.apple.com/feedback/7723709
Can anyone confirm? Ideas how to get it to work? Using Xcode Version 11.5 (11E608c) on macOS Catalina 10.15.5 (19F101)