After upgrading macOS to 12.0.1 today, it won't run.
yairchu@Yairs-M1-MBP-4 ~ % /Users/yairchu/Library/Application\ Support/Steam/steamapps/common/Defect\ Process/defect-process.app/Contents/MacOS/defect-process
objc[19705]: Class SDLApplication is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68618) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c84c0). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLAppDelegate is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68668) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8510). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLTranslatorResponder is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b686e0) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8588). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLMessageBoxPresenter is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68708) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c85b0). One of the two will be used. Which one is undefined.
objc[19705]: Class SDL_cocoametalview is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68758) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8600). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLOpenGLContext is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b687a8) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8650). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLWindow is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b687f8) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c86a0). One of the two will be used. Which one is undefined.
objc[19705]: Class Cocoa_WindowListener is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68820) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c86c8). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLView is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68898) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8740). One of the two will be used. Which one is undefined.
objc[19705]: Class METAL_RenderData is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b688e8) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8790). One of the two will be used. Which one is undefined.
objc[19705]: Class METAL_TextureData is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68938) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c87e0). One of the two will be used. Which one is undefined.
defect-process: SDLCallFailed {sdlExceptionCaller = "SDL.Video.clear", sdlFunction = "SDL_RenderClear", sdlExceptionError = "Invalid renderer"}
It looks like my x86_64 brew setup has a libSDL and that confuses the app which doesn't know which version to use?
After removing my brew setup it does work.