"ionic cordova run ios"不起作用



我从未看到运行该命令后应该发生什么,但是Maby应该在iPhone中添加应用程序。一行"离子Cordova Run IOS"一行,什么也没发生,所有日志:

cordova run ios
Running app-scripts build: --platform ios --target c
ordova
[21:10:23]  build dev started ...
[21:10:23]  clean started ...
[21:10:23]  clean finished in 20 ms
[21:10:23]  copy started ...
[21:10:23]  deeplinks started ...
[21:10:23]  deeplinks finished in 68 ms
[21:10:23]  transpile started ...
[21:10:29]  transpile finished in 5.71 s
[21:10:29]  preprocess started ...
[21:10:29]  preprocess finished in 2 ms
[21:10:29]  webpack started ...
[21:10:29]  copy finished in 6.05 s
[21:10:39]  webpack finished in 10.18 s
[21:10:39]  sass started ...
Without `from` option PostCSS could generate wrong s
ource map and will not find Browserslist config. Set
 it to CSS file path or to `undefined` to prevent th
is warning.
[21:10:41]  sass finished in 1.51 s
[21:10:41]  postprocess started ...
[21:10:41]  postprocess finished in 21 ms
[21:10:41]  lint started ...
[21:10:41]  build dev finished in 17.66 s
> cordova run ios
(node:3192) UnhandledPromiseRejectionWarning: Unhand
led promise rejection (rejection id: 1): xcodebuild
was not found. Please install version 7.0.0 or great
er from App Store
(node:3192) [DEP0018] DeprecationWarning: Unhandled
promise rejections are deprecated. In the future, pr
omise rejections that are not handled will terminate
 the Node.js process with a non-zero exit code.
[OK] Your app has been deployed.
     Did you know you can live-reload changes from y
our app with --livereload?
[21:10:46]  lint finished in 5.38 s

我该怎么办?

您必须安装XCode才能为iOS构建一个离子应用程序。
有关其他信息,请参见Cordova文档。

最新更新