首先通过如下命令查看可用的模拟器:
cordova run --list --emulator
然后运行时指定模拟器版本即可:
ionic cordova run ios --target "iPhone-6"
ionic cordova run ios --target "iPhone-6"
本文介绍如何使用Cordova命令行工具查看可用的iOS模拟器,并指导如何指定特定版本的模拟器来运行Ionic项目。
首先通过如下命令查看可用的模拟器:
cordova run --list --emulator
然后运行时指定模拟器版本即可:
ionic cordova run ios --target "iPhone-6"
ionic cordova run ios --target "iPhone-6"

被折叠的 条评论
为什么被折叠?