我的问题是:
我用 Xcodebuild 后能调用模拟器跑应用
但是我在 appium 里面选择相同的模拟器却提示我找不到模拟器
日志如下:

error: Failed to start an Appium session, err was: Error: Could not find a device to launch. You requested 'iPhone 5 (7B6CC851-AF86-49FB-A284-66ABE561515D) (8.1 Simulator)', but the available devices were: ["iPad 2 (8.1 Simulator) [C4F5C689-7FBB-4DDF-8F2B-E75C0D5E1C19]","iPad Air (8.1 Simulator) [48E9CC6D-4287-4BE5-A2A2-7B2EB73B6D85]","iPad Retina (8.1 Simulator) [6B7F75C6-E883-4C1A-BD3A-94C4E76E8BEB]","iPhone 4s (8.1 Simulator) [6AA78592-7CCC-482B-A417-567AB4DCA0F1]","iPhone 5 (8.1 Simulator) [7B6CC851-AF86-49FB-A284-66ABE561515D]","iPhone 5s (8.1 Simulator) [4D3A7F95-0BFE-44B4-A9A4-7A202D266915]","iPhone 6 (8.1 Simulator) [7630E4C1-9F04-4F51-88C5-A35610E424FC]","iPhone 6 Plus (8.1 Simulator) [07B6A817-FE6B-4BD2-97C1-4C5CED1A9D1C]"]


↙↙↙阅读原文可查看相关链接,并与作者交流