OSX layer keybindings should be applied on macOS no matter it is in GUI mode or not. Otherwise the keybindings won't be applied if Emacs is launched in daemon mode.