?????????γ????????????????????????appium??iOS10??????????к???????????????????????????????????????С???????????????1??????????????????????????~
??????????
????1.????????Xcode8+ MAC??10.11+
????2.???brew??????iOS?????????????
????usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
????3.???libimobiledevice
???????????ios10???????wifi???
????brew install libimobiledevice --HEAD
????4.???carthage appium ????????????????????????????????
????brew install carthage
????5.??? node ???????????npm??npm??nodejs???????????????????brew
????brew update
????brew install node
????brew install npm
???????1??????npm???????????npm?????????????????“npm ERR!”???????????????????????????????????????????°??????????????????????ò??????????
????6.???cnpm ?????????????????appium1.5.x??????????iOS10?????????????????iOS10??1.6.3?汾??????npm????(npm???????????????????????????????????????????npm?????)
????npm install cnpm -g --registry=https://registry.npm.taobao.org
???????2???????????????????????????????????????????????????????????????maven?μ?setting.xml????????????maven repository.???£?
????<mirror>
????<id>alimaven</id>
????<name>aliyun maven</name>
????<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
????<mirrorOf>central</mirrorOf>
????</mirror>
????7.???appium ???appium?????????????
????cnpm install -g appium@1.6.3
????appium-doctor
????8.???appium-xcuitest-driver????
????appium??????WebDriverAgent??????WebDriverAgent?????б???
????cd  /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent ?????WebDriverAgent ????·??????????????в????
????mkdir -p Resources/WebDriverAgent.bundle
????sh ./Scripts/bootstrap.sh -d
???????3?????????????????git?????WebDriverAgent?????????????±???
????9.????WebDriverAgent ???????????????xcode??WebDriverAgent??test????
????cd  /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
????xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=?????udid' test
????10.???appium
????appium -p 4723
????boss: ????appium??????? Waiting for WebDriverAgent to start on device ???????????????????????????????????????
????1.sudo npm install appium-xcuitest-driver@2.5.2 (inside appium/node_modules)
????2.cd appium-xcuitest-driver/WebDriverAgent/
????3.mkdir -p Resources/WebDriverAgent.bundle
????4.sh ./Scripts/bootstrap.sh -d
????5.Go to the appium-xcuitest-driver xcode project and check the automatic sign in for the Lib/Runner/IntegrationApp
???????????????????????~