"离子cordova运行ios"不工作

时间:2018-02-17 19:12:57

标签: angular cordova ionic-framework

我从来没有看到在运行该命令后会发生什么,但maby应该在我的Iphone中添加应用程序。之后"离子cordova运行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

我该怎么办?

1 个答案:

答案 0 :(得分:0)

您必须安装XCode才能为iOS构建Ionic应用程序。
有关其他信息,请参阅cordova documentation