% cordova emulate ios --list Available-6ren">
gpt4 book ai didi

ios - Cordova 错误 : "not a valid target for emulator"

转载 作者:可可西里 更新时间:2023-11-01 05:51:10 26 4
gpt4 key购买 nike

我正在尝试选择一个特定的模拟器目标,但即使我从列表中选择一个,我也会收到错误消息。见下文。

-> % cordova emulate ios --list              
Available iOS Virtual Devices:
iPhone-4s, 8.1
iPhone-4s, 9.2
iPhone-5, 8.1
iPhone-5, 9.2
iPhone-5s, 8.1
iPhone-5s, 9.2
iPad-2, 8.1
iPad-2, 9.2
iPad-Retina, 8.1
iPad-Retina, 9.2
iPad-Air, 8.1
iPad-Air, 9.2
iPhone-6, 8.1
iPhone-6, 9.2
iPhone-6-Plus, 8.1
iPhone-6-Plus, 9.2
iPhone-6s, 9.2
iPhone-6s-Plus, 9.2
iPad-Air-2, 9.2
iPad-Pro, 9.2
Apple-TV-1080p, tvOS 9.1
Apple-Watch-38mm, watchOS 2.1
Apple-Watch-42mm, watchOS 2.1

-> % cordova emulate ios --target "iPhone-6s, 9.2"
Error: iPhone-6s, 9.2 is not a valid target for emulator

最佳答案

尝试运行:-> % cordova emulate ios --target "iPhone-6s" 这应该可以解决问题。

关于ios - Cordova 错误 : "not a valid target for emulator",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35147118/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com