2016-01-24 89 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工具。

相關問題