Ios 错误:Can';“我找不到与之匹配的模拟器”;iphone6s“;
排毒就像几周前预期的那样工作良好-我没有更新任何知识,现在我在尝试测试时不断遇到以下错误(它构建良好): 如果我运行applesmultils--list--byName“iphone6s”,它会显示两个设备:Ios 错误:Can';“我找不到与之匹配的模拟器”;iphone6s“;,ios,simulator,detox,xcrun,applesimutils,Ios,Simulator,Detox,Xcrun,Applesimutils,排毒就像几周前预期的那样工作良好-我没有更新任何知识,现在我在尝试测试时不断遇到以下错误(它构建良好): 如果我运行applesmultils--list--byName“iphone6s”,它会显示两个设备: [ { "deviceType" : { "name" : "iPhone 6s", "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS
[
{
"deviceType" : {
"name" : "iPhone 6s",
"bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s.simdevicetype",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s"
},
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 6s",
"udid" : "A87C2EF9-95D2-4562-99BE-E1A39A63ABB1",
"os" : {
"buildversion" : "17B102",
"bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
"isAvailable" : true,
"name" : "iOS 13.2",
"identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-13-2",
"version" : "13.2.2"
}
},
{
"deviceType" : {
"name" : "iPhone 6s",
"bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s.simdevicetype",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s"
},
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 6s",
"udid" : "F5A2C1D3-5416-431C-A9B5-6054A238283D",
"os" : {
"buildversion" : "16E226",
"bundlePath" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 12.2.simruntime",
"isAvailable" : true,
"name" : "iOS 12.2",
"identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-2",
"version" : "12.2"
}
}
]
我尝试过通过xcode和xcrun添加和删除模拟器,但似乎没有任何效果
版本:
Mac 10.14.6
AppleSmultils版本0.7.6
排毒14.3.4
xcode 11.2.1尝试将Detox升级到最新版本(
14.7.1
,自2019年11月15日起),一个月前发布的14.5.0
中修复了模拟器选择逻辑 尝试将Detox升级到最新版本(14.7.1
,自2019年11月15日起),一个月前发布的14.5.0
中修复了模拟器选择逻辑 确保您使用的是最新的AppleSumtils,并且正确指定了查询。确保您使用的是最新的AppleSumtils,并且正确指定了查询。感谢@noomorph修复了它!!!!可能值得将此添加到变更日志/文档中,以便其他用户了解:)@smj2393如果答案有用,请将其标记为已接受。我们的文档总是针对最新版本的排毒。谢谢@noomorph修复了它!!!!可能值得将此添加到变更日志/文档中,以便其他用户了解:)@smj2393如果答案有用,请将其标记为已接受。我们的文档总是针对最新版本的排毒。
[
{
"deviceType" : {
"name" : "iPhone 6s",
"bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s.simdevicetype",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s"
},
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 6s",
"udid" : "A87C2EF9-95D2-4562-99BE-E1A39A63ABB1",
"os" : {
"buildversion" : "17B102",
"bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime",
"isAvailable" : true,
"name" : "iOS 13.2",
"identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-13-2",
"version" : "13.2.2"
}
},
{
"deviceType" : {
"name" : "iPhone 6s",
"bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s.simdevicetype",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s"
},
"state" : "Shutdown",
"isAvailable" : true,
"name" : "iPhone 6s",
"udid" : "F5A2C1D3-5416-431C-A9B5-6054A238283D",
"os" : {
"buildversion" : "16E226",
"bundlePath" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 12.2.simruntime",
"isAvailable" : true,
"name" : "iOS 12.2",
"identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-12-2",
"version" : "12.2"
}
}
]