谢谢大家,最近在学习 IOS 的 Appium,在最新的版本和环境上无法启动 inspector,提示的错误也很费解如下:
error: Failed to start an Appium session, err was: Error: Could not find a device to launch. You requested 'iPhone 5s (449AC674-9FB8-431E-8617-846161A5587B) (8.1 Simulator)', but the available devices were: ["iPad 2 (8.1 Simulator) [AF06F02D-230E-498C-BE43-AD9F9A752D1B]","iPad Air (8.1 Simulator) [70E8C80C-C125-4F86-9FF2-3C333B6CB9B9]","iPad Retina (8.1 Simulator) [527B469C-9F55-4105-B50A-472387A0C374]","iPhone 4s (8.1 Simulator) [9C0101B8-78F1-44DD-AB8D-B5121B4143D2]","iPhone 5 (8.1 Simulator) [EDB96171-ED64-4AAB-BC47-09968149F726]","iPhone 5s (8.1 Simulator) [449AC674-9FB8-431E-8617-846161A5587B]","iPhone 6 (8.1 Simulator) [7D28AC65-D4B3-4FFD-957A-CF2DDFC69D21]","iPhone 6 Plus (8.1 Simulator) [B0F7D960-4FEB-4BA0-8B38-97ED5A6C7825]"]
这个错误中提到我的模拟器无法启动,但是在它给予的提示中,又包含了我所使用的模拟器 ID,搜寻了许久还是没有得到答案,请大家帮忙看看,任何想法或者思路都欢迎提供,谢谢!