Appium for Mac doesn't work and I don't know why

I am new to Appium, a month ago I set up Appium on a linux machine for android testing, everything worked out. But now I want to set up Appium on a Mac. Now I am at a point I just don’t know further, I installed Appium and ran a test, I figured out this part of the logs could describe the problem:
[info] e[35m[DevCon Factory]e[39m Requesting connection for device 33098117b88ee9be00671163ee4fe1a241a75b50 on local port 8100, device port 8100
[debug] e[35m[DevCon Factory]e[39m Cached connections count: 0
[info] e[35m[DevCon Factory]e[39m Successfully requested the connection for 33098117b88ee9be00671163ee4fe1a241a75b50:8100
[debug] e[35m[XCUITest]e[39m Starting WebDriverAgent initialization with the synchronization key ‘XCUITestDriver’
[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body[debug] e[35m[iProxy@33098117:8100]e[39m Connection was refused to port 8100
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[WebDriverAgent]e[39m WDA is not listening at ‘http://127.0.0.1:8100/
[debug] e[35m[WebDriverAgent]e[39m WDA is currently not running. There is nothing to cache
[debug] e[35m[XCUITest]e[39m Trying to start WebDriverAgent 1 times with 10000ms interval
[debug] e[35m[XCUITest]e[39m These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[debug] e[35m[BaseDriver]e[39m Event ‘wdaStartAttempted’ logged at 1635243875929 (12:24:35 GMT+0200 (Central European Summer Time))
[info] e[35m[WebDriverAgent]e[39m Launching WebDriverAgent on the device
[info] e[35m[WebDriverAgent]e[39m WebDriverAgent does not need a cleanup. The sources are up to date (1632535255000 >= 1632535255000)
[debug] e[35m[WebDriverAgent]e[39m Killing running processes ‘xcodebuild.*33098117b88ee9be00671163ee4fe1a241a75b50’ for the device 33098117b88ee9be00671163ee4fe1a241a75b50…[debug] e[35m[WebDriverAgent]e[39m Writing xcode config file to /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig
[debug] e[35m[WebDriverAgent]e[39m Using Xcode configuration file: ‘/var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig’
[debug] e[35m[WebDriverAgent]e[39m Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=33098117b88ee9be00671163ee4fe1a241a75b50 IPHONEOS_DEPLOYMENT_TARGET=12.0 -xcconfig /var/folders/gt/wyryx3c16pg_ljdnbb7zr98w0000gn/T/2021926-384-8igrbk.wkn9a/appium-temp.xcconfig GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO’ in directory ‘/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent’
[debug] e[35m[WebDriverAgent]e[39m Output from xcodebuild will only be logged if any errors are present there. To change this, use ‘showXcodeLog’ desired capability[debug] e[35m[WebDriverAgent]e[39m Waiting up to 60000ms for WebDriverAgent to start
[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] e[35m[iProxy@33098117:8100]e[39m Connection was refused to port 8100
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
I appreciate any kind of help. Thanksappium-server-logs2.txt (127.2 KB)

  1. on phone ‘Settings’ -> ‘Developer’ -> ‘Enable UI Automation’
  2. right after install appium on mac complete -> https://appium.io/docs/en/drivers/ios-xcuitest-real-devices/ (I personally like ‘Full manual configuration’ way)
  3. make sure that your test phone UDID added into your developer signature