I found a workaround in the case of a Command Line Tool which opens a window with SDL2.
Create an App project.
However, main() does not call NSApplicationMain().
"-NSDocumentRevisionsDebugMode" and "YES" are passed to argv, so ignore them.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: