2016-01-24 91 views
0

只是测试一个应用程序。尝试运行ios模拟器。有错误信息。请帮忙。离子建立ios错误无法识别的命令

$ ionic build ios Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Johnson\desktop\ionic\todo\hooks\after_prepare\010_add_platform_class.js C:/Users/Johnson/desktop/ionic/todo add to body class: platform-ios Running command: cmd "/s /c "C:\Users\Johnson\desktop\ionic\todo\platforms\ios\cordova\build"" 'C:\Users\Johnson\desktop\ionic\todo\platforms\ios\cordova\build' is not recognized as an internal or external command, operable program or batch file. ERROR building one of the platforms: Error: cmd: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 1

回答

0

由于错误说

You may not have the required environment or OS to build this project

这指的是你没有的iOS打造您的计算机上可用的工具(Xcode中)。 xcode在Windows机器上不可用。

您无法在Windows机器上构建iOS应用程序。您可以构建android,只要您安装了android sdk + build工具。

相关问题