MacOS xhost display connection issue

Did you tried to setup XQuartz as described there? : Installation of RF Swift on macOS needs xhost and not finding xQuartz - #3 by FlUxIuS