From your log, I can see that everything is working fine until you click on the button. Appium was able to detect an element with name “Done” and return the element id to its client so I guess your set up is correct.
Seems like you have exactly the same issue with: An unknown server-side error occurred while processing the command. (Original error: connect ECONNREFUSED) and they didn’t have an ideal solution neither.
My suggestion is to try upgrade everything to the latest version:
- Node
- Appium
- If neither works, then reinstall Xcode ( as the post I mentioned above said that)