简体   繁体   English

Ionic iOS构建和运行

[英]Ionic iOS Build and Run

I'm new in ionic app development. 我是离子应用程序开发的新手。 I've completed the setting for android in windows and it is running fine in browser and android emulator also. 我已经在Windows中完成了android的设置,并且在浏览器和android模拟器中也可以正常运行。 But I unable to build and Run the app for iOS in windows. 但是我无法在Windows中构建和运行适用于iOS的应用程序。 Is it possible to build and Run it in windows for iOS app or I need OS X ? 是否有可能在iOS应用程序的Windows中构建和运行它,或者我需要OS X?

No, unfortunately to build your app for iOS you'd require Xcode, which is not available on windows, therefore you need OSX if you want to develop for iOS too. 不,不幸的是,要为iOS构建您的应用程序,您将需要Xcode,而Windows上没有此功能,因此,如果您也想为iOS开发,则需要OSX。

See Ionic official docs 请参阅Ionic官方文档

You must need xcode to run build on ios mobile, and XCode only support on mac os. 您必须使用xcode才能在ios mobile上运行build,并且XCode仅在mac os上支持。

So you can use virtual box to make virtual mac os into your windows system. 因此,您可以使用虚拟框将虚拟Mac OS放入Windows系统。

I hope you understand. 我希望你明白。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM