Xcode Vs Visual Studio For Mac

I often see questions about asking how to get XCode for Windows, and really what people want is to develop iOS apps directly on a windows platform. All of us at ItsMonkie Solutions have asked ourselves this question when we started app development for Android, iOS and Windows, and we were really looking for a way to develop iOS apps on the Windows platform.

Xcode Vs Visual Studio For Mac

Xcode 9.3 and Visual Studio for the Mac Reported by David M McCollough Apr 05 at 04:18 PM visual studio for mac Today I upgraded to Xcode 9.3 and I also installed Xamarin.iOS 11.9.1.24 and Visual Studio for the Mac 7.4.12. Finally, Visual Studio isn't perfect either. Just yesterday I tried 'Go to definition' on some random 'using xyz' statement, and Visual Studio told me 'Cannot navigate to the symbol unter the caret', which is just complete bullshit.

Having given this a try I have to say the whole process of making XCode work in a windows environment is very uncomfortable, and not really fulfilling. This is really no fault of Apple – they designed XCode to be used only on Macs and in that space I’m sure its great. But as a Windows user primarily I want to be able to develop my apps to run on the iPhone and iPad – its a fantastic device, with a huge market share!

Is it even possible

In short – of course it is! But one thing that I should say is that even if you successfully get XCode running on your Windows environment, you will not be able to build and deploy an app to the Apple app store. Even if its technically possible, Apple’s terms and conditions strictly prohibit this. So if you want to develop an iPhone or iPad app you’re going to need a Mac, whether its be a Mac mini or an iMac, you going to need to compile and deploy your app directly from an Apple device.

Whats Involved in Running XCode for Windows?

Running XCode on Windows basically requires you to simulate an instance of Mac OS X on your windows machine – this means virtualisation. These days technologies like VMWare and VirtualBox make creating a virtual machine fairly easy…once you know how! In order to run a virtual machine you’ll need to have a decent PC with a reasonable level of resources as the machine will be effectively running 2 operating systems – Windows and Mac OS X. You’ll also need a copy of the Mac OS X installation media which you can purchase from the Apple store.

Once you have Mac OS X running on your virtual machine installing XCode should be pretty straight forward – you can pretty much just open the app store and install it directly from there.

For a detailed guide on getting XCode running on windows see this article from the udemy blog about emulating Mac OS X on a windows machine.

In order to be able to compile and deploy your apps to the app store you’re still going to need to own a Mac (or have once available). A compromise is to purchase a low end Mac mini – you can then do all the heavy lifting on your Windows machine, and just copy the code to your Mac mini when you want to compile and deploy it to the app store.

To me I find the idea of the whole process a bit cumbersome, especially when I have something like Xamarin available.

Using Xamarin to Build iOS Apps

Let me say first off that Xamarin in no way helps with the whole needing a Mac issue – theres no way arround that, its in the app store terms and conditions. It does however allow me to develop on my pc and leverage a Mac as a build server to build and iPhone/iPad simulator. The general workflow goes something like this –

  • You build your apps using C# and Visual Studio (or Xamarin Studio)
  • When you build and instruct Visual Studio to deploy the solution, the Xamarin plug-in communicates with the Mac build server to build the code, and deploy it to the correct simulator

Visual Studio For Mac Free

The whole process is almost seamless and works incredibly well. This review of the whole process by Peter Bright covers the process in more detail.

For some developing in C# and using Visual Studio is a negative, but as we focus on developing cross platform apps (i.e. apps with a share code base between platforms), Xamarin definitely wins out. Whilst this definitely isn’t XCode for Windows it is a viable, well supported and workable solution.

Microsoft

Wrapping up

We at ItsMonkie Solutions have approached app development from numerous angles such as

  • Purely native using Eclipse for Android apps (and Android Studio), Visual Studio for Windows Apps and XCode for iOS.
  • Hybrid apps using PhoneGap and Cordova that leverage Javascript and HTML5 on the devices browser
  • Developing native apps using a cross platform framework i.e. Xamarin

In the end we have found that Xamarin provides the best combination of native performance, code reuse and general development workflow. It enables us to get to more platforms, more quickly with a more maintable code base.

What are your thoughts about running XCode for Windows? Is it worth the effort or is adopting a cross platform framework your preference or would you just rather developer straight on your Mac?

Related

Studio-->

| Developer Community |System Requirements |Compatibility |Distributable Code |Xamarin |Blogs |Servicing |

The minimum system requirements for the Visual Studio 2017 for Mac family of products is below. To install Visual Studio 2017 for Mac,see Visual Studio 2017 Downloads. For information about everythingthat's new in this release, see the Visual Studio for Mac 2017 release notes.See also Visual Studio 2017 for Mac Platform Targeting and Compatibility.

Visual Studio 2017 for Mac

The following products support the minimum system requirements below:

Xcode 9 Vs Visual Studio For Mac

  • Visual Studio Enterprise 2017 for Mac.
  • Visual Studio Professional 2017 for Mac.
  • Visual Studio Community 2017 for Mac.

Supported Operating Systems

Visual Studio 2017 for Mac will install and run on the following operating systems:

  • macOS Sierra 10.12: Community, Professional, and Enterprise.
  • Mac OS X El Capitan 10.11: Community, Professional, and Enterprise*.

Xamarin.iOS and Xamarin.Mac projects may require newer versions of macOS as a result of Xcode requirements. Please see the [Xamarin release notes](https://docs.microsoft.com/xamarin/ios/release-notes/) for more information.

Hardware

  • 1.8 GHz or faster processor. Dual-core or better recommended.
  • 4 GB of RAM; 8 GB of RAM recommended (4 GB minimum if running on a virtual machine).
  • Hard disk space: approx 1GB.

Supported Languages

Visual Studio for Mac is available in the following languages:

  • English
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Czech
  • French
  • German
  • Italian
  • Japanese
  • Korean
  • Polish
  • Portuguese (Brazil)
  • Russian
  • Spanish
  • Turkish

Additional Requirements

  • .NET Core SDK 1.1 is required to use .NET Core projects and features. It can be downloaded and installed separately, and requires Mac OS X El Capitan 10.11 or higher.
  • Xamarin.Android requires the 64-bit Java Development Kit (JDK).
  • Xamarin.iOS requires Apple's Xcode IDE and iOS SDK.
  • Xamarin.Forms can target both Android and iOS platforms, given the requirements listed above.
Top of Page

Comments are closed.