1.運行模擬器
2.每一個模擬器都有對應的uuid,這里在執行模擬器時用的是uuid,但是到了真機上,就變成了udid,所以要拿到當前模擬器的uuid:
終端輸入命令:
instruments -s devices

{
"platformName": "iOS",
"deviceName": "iPhone 7",
"platformVersion": "10.2",
"app": "/Users/ymm/iOS/app/WeChat.app"
}
3.啟動appium
