1. ‘CocoaAsyncSocket/CocoaAsyncSocket.h‘ file not found
/usr/local/n/versions/node/10.4.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
* 打开terminal到上面的目录下, 执行以下命令来配置项目:
$ mkdir -p Resources/WebDriverAgent.bundle
$ ./Scripts/bootstrap.sh -d
2. A build only device cannot be used to run this target.
原文:https://www.cnblogs.com/qianjinyan/p/12692589.html