简体   繁体   English

如何在Windows上使用Xamarin Studio开发iOS应用程序?

[英]How to develop iOS app using Xamarin Studio on Windows?

I'm evaluating a Xamarin Studio indie license which does not include VS integration - Correct me if I am wrong. 我正在评估一个不包括VS集成的Xamarin Studio独立许可证 - 如果我错了,请纠正我。 But I want to know if it's possible to use Xamarin Studio to do iOS development? 但我想知道是否可以使用Xamarin Studio进行iOS开发? I'm very interested in the new feature of iOS designer announced at Xamarin Evolve, ideally it shall be possible too on Windows. 我对Xamarin Evolve宣布的iOS设计器的新功能非常感兴趣,理想情况下它也适用于Windows。

If the answer is yes, how? 如果答案是肯定的,怎么样?

Currently it is not possible to develop for iOS using Xamarin Studio on Windows. 目前,无法在Windows上使用Xamarin Studio进行iOS开发。

If you want to use Windows, you can use Visual Studio. 如果要使用Windows,则可以使用Visual Studio。

If you want to use Xamarin Studio, you can do so on a Mac. 如果您想使用Xamarin Studio,可以在Mac上进行。

Note that you will always need a Mac around, even if you're using Visual Studio . 请注意, 即使您使用的是Visual Studio始终需要Mac。

While not specifically answering the question, it should be noted that it is possible to develop for iOS in Visual Studios using a connected Mac as a build host. 虽然没有具体回答这个问题,但应该注意的是,可以使用连接的Mac作为构建主机在Visual Studio中为iOS开发。 This connected Mac could either be through the network or can even be a VM running from your Windows machine. 这个连接的Mac可以通过网络,也可以是从Windows机器运行的VM

We can use xamarin studio in Mac OS only. 我们只能在Mac OS中使用xamarin studio。 If you want to use xamarin in windows you need to download xamarin plug in to visual studio from xamarin.com. 如果你想在windows中使用xamarin,你需要从xamarin.com下载xamarin插件到visual studio。 Also you must need Mac Os as virtually running on windows for debugging and seeing output. 此外,您必须在Windows上虚拟运行Mac Os,以便进行调试和查看输出。 User interface design should only performs on Mac OS Xcode SDK. 用户界面设计应仅在Mac OS Xcode SDK上执行。 So only we need Mac OS virtual machine on windows. 所以我们只需要Windows上的Mac OS虚拟机。 In visual Studio IOS project file having .xib file (ie) Xcode Interface builder, in that file only we need to design user interface configurations using xcode on Mac OS. 在具有.xib文件(即)Xcode Interface构建器的visual Studio IOS项目文件中,在该文件中我们只需要在Mac OS上使用xcode设计用户界面配置。

Using Mac build Host you can do but you'll need the networked mac for developing and debugging too. 使用Mac build Host你可以做,但你也需要联网的mac进行开发和调试。

or else you can use Xamarin Live Player using which you can debug,develop and deploy the app completely in windows without the help of any Apple system but to sign and release the app to appstore you will need Apple System though 或者您可以使用Xamarin Live Player ,您可以在Windows中完全调试,开发和部署应用程序,无需任何Apple系统的帮助,但是要签署应用程序并将其发布到appstore,您将需要Apple System

Currently it is not possible to run Apple iOS emulator on windows. 目前,无法在Windows上运行Apple iOS模拟器。

See the official documentation given on url Installing Xamarin.iOS on Windows in Xamarin Developer Documentation which says :- 请参阅url 提供的官方文档在Xamarin开发人员文档中 在Windows安装Xamarin.iOS,其中说:

There are some tasks that Xamarion.iOS for Visual Studio currently cannot do ie No iOS simulator on Windows – The iOS Simulator runs on Mac OS X, so it's necessary to switch to the Mac's screen when testing on the simulator Visual Studio的Xamarion.iOS目前无法完成一些任务,即Windows上没有iOS模拟器 - iOS模拟器在Mac OS X上运行,因此在模拟器上测试时需要切换到Mac的屏幕

http://docs.xamarin.com/guides/ios/getting_started/introduction_to_xamarin_ios_for_visual_studio/ says http://docs.xamarin.com/guides/ios/getting_started/introduction_to_xamarin_ios_for_visual_studio/

Xamarin iOS for Visual Studio allows iOS applications to be written and tested on Windows computers, with a networked Mac providing the build and deployment service. Xamarin iOS for Visual Studio允许在Windows计算机上编写和测试iOS应用程序,网络Mac提供构建和部署服务。

So I think you can do developing and testing (debugging?) but not building nor deploying. 所以我认为你可以开发和测试(调试?)但不能构建和部署。 CMIIW. CMIIW。

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

相关问题 是否有可能在没有MAC的情况下使用(Xamarin和visual studio)在Windows上开发iOS App - Is it possible to develop iOS App on windows using (Xamarin and visual studio) without MAC 如何使用Xamarin应用开发自动注销 - How to develop auto logout using Xamarin app xamarin工作室适用于Windows上的ios? - xamarin studio for ios on windows? 是否可以使用MonoTouch / Xamarin在Windows上开发应用程序? - Is it possible to develop applications on Windows using MonoTouch/Xamarin? 是否可以使用Xamarin工具开发CarPlay应用 - Is it possible to develop a CarPlay app using Xamarin tools 我如何使用PCL项目在Xamarin中为Android和iOS开发应用程序? - How do i Use a PCL project to develop an app for Android and iOS in Xamarin? 如何使用BLE开发Windows C#App - How can develop Windows C# App using BLE 如何使用 Xamarin 为 iOS 应用程序使用 WebView? - How to use WebView for iOS app using Xamarin? 使用Visual Studio 2015社区开发安全的Android和iOS应用,而无需第三方许可(例如Xamarin) - Using Visual Studio 2015 Community to develop secure Android and iOS apps without 3rd party license like Xamarin 如何在Xamarin(iOS和Android)应用程序中使用Windows名称空间? - How do I use Windows namespaces in Xamarin (iOS and Android) app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM