生成其中一个平台时出错:IOS

生成其中一个平台时出错:IOS,ios,cordova,mobile,ionic-framework,ionic,Ios,Cordova,Mobile,Ionic Framework,Ionic,以下关于启动和运行移动混合应用程序的ionic课程,我在步骤中遇到了困难: $ ionic build ios 以下错误是: $ ionic build ios Running command: "c:\Program Files (x86)\nodejs\node.exe##c:\wamp\www\weather\hooks\after_prepare\010_add_platform_ class.js c:/wamp/www/weather add to body class: p

以下关于启动和运行移动混合应用程序的ionic课程,我在步骤中遇到了困难:

$ ionic build ios
以下错误是:

$ ionic build ios
Running command: "c:\Program Files (x86)\nodejs\node.exe##c:\wamp\www\weather\hooks\after_prepare\010_add_platform_    class.js c:/wamp/www/weather
add to body class: platform-ios
Running command: cmd "/s/c"c:\wamp\www\weather\platforms\ios\cordova\build""
'c:\wamp\www\weather\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
at ChildProcess.whenDone        (c:\Users\Acer\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:817:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
我对爱奥尼亚安卓没有任何问题。 你能帮我提些建议吗?问题出在哪里? 提前通知Tnx

我看到你在使用Windows

注意:iOS开发需要Mac OS X

资料来源:

如果你真的需要构建iOS,你需要买一台Mac(是的,这真的很糟糕),或者使用一个解决方案来处理这种情况,比如。
如果我记得清楚的话,Ionic团队正在研究解决这个问题的解决方案,但它还没有准备好。

Tnx,这个解释对我来说已经足够了:)