Ionic ios 模拟器问题

Ionic ios Emulator issue

我无法使用以下命令在 ionic 中启动模拟器

user:platforms user$ cd ..
user:example1 user$ ionic emulate ios
user:example1 user$ ionic run ios

下面是package.json

{
  "name": "example-1",
  "version": "1.1.1",
  "description": "Example 1: An Ionic project",
  "dependencies": {
    "gulp": "^3.5.6",
    "gulp-sass": "^2.0.4",
    "gulp-concat": "^2.2.0",
    "gulp-minify-css": "^0.3.0",
    "gulp-rename": "^1.2.0"
  },
  "devDependencies": {
    "bower": "^1.3.3",
    "gulp-util": "^2.2.14",
    "shelljs": "^0.3.0"
  },
  "cordovaPlugins": [
    "cordova-plugin-device",
    "cordova-plugin-console",
    "cordova-plugin-whitelist",
    "cordova-plugin-splashscreen",
    "cordova-plugin-statusbar",
    "ionic-plugin-keyboard"
  ],
"package.json" 28L, 615C
{
  "name": "example-1",
  "version": "1.1.1",
  "description": "Example 1: An Ionic project",
  "dependencies": {
    "gulp": "^3.5.6",
    "gulp-sass": "^2.0.4",
    "gulp-concat": "^2.2.0",
    "gulp-minify-css": "^0.3.0",
    "gulp-rename": "^1.2.0"
  },
  "devDependencies": {
    "bower": "^1.3.3",
    "gulp-util": "^2.2.14",
    "shelljs": "^0.3.0"
  },
  "cordovaPlugins": [
    "cordova-plugin-device",
    "cordova-plugin-console",
    "cordova-plugin-whitelist",
    "cordova-plugin-splashscreen",
    "cordova-plugin-statusbar",
    "ionic-plugin-keyboard"
  ],
  ],
  "cordovaPlatforms": [
    "ios"
  ]
}

如果您需要更多信息,请告诉我。 如果您需要更多信息,请告诉我。 如果您需要更多信息,请告诉我。 如果您需要更多信息,请告诉我。如果您需要更多信息,请告诉我。

添加 iOS 平台后,您需要按照此处所述构建 ios 版本: http://ionicframework.com/getting-started/

$ ionic platform add ios
$ ionic build ios

也许这是缺少的步骤?