我试图使用 Appium 测试我的 iOS 应用程序。这是我第一次使用该应用程序。我在对话框中收到以下文本。请帮助我,提前致谢。

Could not start a new session

Be sure the Appium server is running with an application opened by using the "App Path" parameter in Appium.app (along with package and activity for Android) or by connecting with selenium client and supplying this in the desired capabilities object.

这是控制台中的错误
error: Failed to start an Appium session, err was: Error: Could not find a device to launch. You requested 'iPad Retina (8.2 Simulator)', but the available devices were: ["iPad 2 (8.4 Simulator) [69E9798C-BF67-441F-BE0F-BB422C329381]","iPad Air (8.4 Simulator) [10794BA7-C352-4E63-B884-F740E572A626]","iPad Retina (8.4 Simulator) [3C4AE8CC-4EF3-43F0-A2DA-218E1A2021A2]","iPhone 4s (8.4 Simulator) [D54D1665-01A2-4A4E-BA4F-F6F3C74C0B89]","iPhone 5 (8.4 Simulator) [330EDD0C-2B9B-44AE-9F46-3CFE88FB7D6A]","iPhone 5s (8.4 Simulator) [64BDE543-7DFA-448C-A5EE-05A0292A640B]","iPhone 6 (8.4 Simulator) [6A928AA3-2624-429E-AC15-CA2F61483504]","iPhone 6 Plus (8.4 Simulator) [C1F83F38-7846-4C98-97C1-4B663C5D7A8E]"]

最佳答案

因此,您请求的设备似乎不受支持。根据错误只能支持iOS 8.4

关于ios - 使用 Appium 检查时出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/31334815/

10-13 03:49