• Skip to primary navigation
  • Skip to main content
  • Skip to footer
WittySparks Logo White

WittySparks

Ignite Your Thoughts

  • Topics
  • Reviews
  • Subscribe
WittySparks / Technology / Mobile App Development / How to Develop iOS Apps on Windows PCs by Using Free Software?
Xamarin - Build Native iOS and Android Apps

How to Develop iOS Apps on Windows PCs by Using Free Software?

Mobile App Development February 10, 2019 by Mohd.Sohel Ather

All we know is that Microsoft made xamarin “FREE” for the community edition of Visual Studio. This opens various doors of opportunities for individual developers and small teams.

Xamarin lets you write Android, iOS, and Windows mobile Native apps using the shared codebase. It helps .net developers to leverage their C# skills to develop mobile apps. As the “community edition” is free, anyone who is familiar with the “Windows ecosystem”, can easily learn iOS/Android mobile application development.

This is very much helpful for those, who are working with Windows for years. It saves the time of learning a new OS-ecosystem (MAC/Linux) and helps utilize that time for learning mobile application development and it’s a lot easier to learn Mobile application development through Xamarin.

In this tutorial, I will guide you on how to set up xamarin environment on Windows PC and develop and run a simple “Hello World” iOS app on Windows PC.

On this page

  • Prerequisites for installation steps:
  • Steps for installing Visual Studio with Xamarin
  • Steps for creating a simple “Hello World” application for iOS in Xamarin
  • Install application on Device from Xamarin

Prerequisites for installation steps:

Hardware requirements

  • 1.6 GHz or faster processor
  • 1 GB of RAM (1.5 GB if running on a virtual machine)
  • 4 GB of available hard disk space 5400 RPM hard disk drive
  • DirectX 9-capable video card (1024×768 or higher resolution)

OS Requirements (Any one from Below listed OS)

  • Windows 10
  • Windows 8.1
  • Windows 8
  • Windows 7 SP1
  • Windows Server 2012 R2
  • Windows Server 2012
  • Windows Server 2008 R2 SP1

Steps for installing Visual Studio with Xamarin

  1. Download Visual Studio Free Community Edition from https://www.visualstudio.com/downloads/
  2. From the setup, please check the C#/Xamarin checkbox as shown in the figure.
    installing Visual Studio with Xamarin
    installing Visual Studio with Xamarin
  3. Progress through the setup wizard and wait until the setup is completed.
  4. That’s it!!! Xamarin is installed on your machine and now you can easily start to develop iOS apps on your windows PC.

Steps for creating a simple “Hello World” application for iOS in Xamarin

  1. Once the Xamarin is installed, Go to File->New Project in visual studio. There, you can see the option to create iOS apps as shown in the screenshot.
    Xamarin - Visual Studio
    Xamarin – Visual Studio
  2. Select a folder where you want to create the application,Select Blank iphone app, and Click “Create”.
  3. This will open the “Get Started” screen as shown in the screenshot.
    Xamarin - Build Native iOS and Android Apps
    Develop iOS Apps on Windows PC using Xamarin.

  4. Right click on the Project in Solution explorer, and click Add=>New Item. This will open the new item dialog box as shown in the screenshot.
    Xamarin - Solution Explorer
    Xamarin – Solution Explorer
  5. Select “StoryboardViewController” and name it “HelloWorld.cs”.
  6. Click “Add”
  7. So, A storyboard, and its controller file will be created.
    Visual Studio - Controller
    Visual Studio – Controller
  8. Now, we will add a Simple label containing the text “Hello World” to the storyboard.
  9. In order to modify the storyboard, we need to connect to a MAC PC in the local network.
  10. Make sure there is a MAC PC in your local network and the latest version of xcode is installed on that.
  11. Now, click on the “Xamarin Mac Agent” button on Top as shown in the figure. This will list all the MAC PCs which are connected to your computer in a local network.
    Xamarin Mac Agent
    Xamarin Mac Agent
  12. Select your MAC from the list and press “Connect”
  13. This will turn your “Xamarin MAC Agent” icon into green. As shown in the screenshot.
    Xamarin MAC Agent
    Xamarin MAC Agent
  14. Now, double click on HelloWorld.storyboard
  15. Drag and drop a ViewController to the storyboard.
    Visual Studio - ViewController
    Visual Studio – ViewController
  16. This will add a ViewController on the storyboard as shown in the figure. In the storyboard, Properties, select the Class Property under the Identity section and Type “HelloWorld” as shown in the screenshot.
    Visual Studio - Class Property
    Visual Studio – Class Property
  17. This will link our class to this newly added View.
  18. From the toolbox Drag and Drop a Label on the View as shown in screenshot.
    Visual Studio - Toolbox
    Visual Studio – Toolbox
  19. Once the label is added, type “Hello World” in properties of the label as shown in the screenshot.
    Visual Studio - Hello World
    Visual Studio – Hello World
  20. Now, from the top, select an appropriate simulator and click Debug. This will run your iOS app on the MAC’s simulator.
    Visual Studio - iOS MAC Simulator
    Visual Studio – iOS MAC Simulator
    Visual Studio and Xamarin - Hello World
    Visual Studio and Xamarin – Hello World
  21. That’s it!!! You are ready to go on with your iOS development.

Install application on Device from Xamarin

You can also read a blog on how to install the iOS application on the actual device. If you are facing any difficulty while following these steps and developing an iOS app on your Windows PC, you can get in touch with a professional iOS app development company that will guide you to developing an app.

Appreciate your opinion on this topic on social media by tagging us @wittysparks
  • LinkedIn
  • Twitter
  • Like
  • Pinterest

Related Topics

  • How To Develop An On-Table Restaurant Ordering App?
  • 7 Successful Tips To Develop A Healthcare Mobile App
  • Top Local Databases for React Native App Development
Launch Offer
Rocket.net - Managed WordPress hosting
Rocket.net - Managed WordPress hosting
$1 for first month, $25/month

A highly secured WordPress hosting platform powered by Cloudflare enterprises with customized services for agencies, eCommerce, and small businesses.

  • PageSpeed Guarantee
  • Ultra Secure Platform
  • FREE Migrations
  • Automatic Updates
Try for $1.00 Our Review
We earn a commission if you make a purchase, at no additional cost to you.

Our Favorite Tools

Semrush - SEO and Marketing Tools
Semrush - SEO and Marketing Tools
$119.95/mo
Try for FREE Our Review
Semrush - SEO and Marketing Tools
Lasso - All-in-one Affiliate Marketing Plugin for WordPress
$29/month
Start Free Trial Our Review
Semrush - SEO and Marketing Tools
Grammarly - AI-powered writing assistant
$12.00 / month
Try for FREE Our Review
Previous Post: « How to Get Up after a Failure?
Next Post: Where to find the perfect plus size mother the bride dresses »
Profile picture for Mohd.Sohel Ather

About Mohd.Sohel Ather

Content Writer
WittySparks Network Contributors

Sohel Ather is a Senior Principal Software Engineer and a content writer by passion, has B.E in Computer Sciences from The Institution of Electronics and Telecommunication Engineers (IETE), And enjoys exploring the latest technologies and taking on new challenges. He focuses on actionable and unique ideas that can be used to grow company business and make a real difference for customers. You can follow him on LinkedIn.

View all posts by Mohd.Sohel Ather
  • LinkedIN

Footer

Search

Exclusive Coupons

  • Moqups Review - Use coupon code “WITTYSPARKS" for 20% off or "PARTNERS50" for 50% discount on all plans.
  • Serpstat Review - Use coupon code "wittysparks_discount" for 30% off.
  • WPForms Review - Use coupon code "WITTYSPARKS" for 50% off.
  • WPPayForm Review - Use coupon code "wittysparks" for 10% to 40% off.

Affiliate Disclosure

If you make a purchase from WittySparks links, we will receive a small commission. See our Affiliate Disclosure.

Sponsors

Partnered with FreePik to use the licensed images.

turn to dhgate for smartphone

Follow Us

  • Facebook
  • Twitter
  • Pinterest
  • LinkedIn
  • Instagram
  • YouTube
  • RSS

Copyright © 2022 · Hosting sponsored by Rocket.net (Affiliate link)

  • About Us
  • Contact Us
  • Privacy Policy
  • Affiliate Disclosure