Xcode for Windows (2019) – iOS app development on Windows using MacStadium

Xcode for Windows (2019) – iOS app development on Windows using MacStadium


Hey CodeCrew today I’m going to show you how to make an app using Xcode for Windows now if you do a search for this topic you’ll find a lot of articles and videos saying how you can’t get Xcode on Windows and then they’re going to proceed to give you a list of alternatives now it’s true that there’s no Windows version of Xcode but I’m not gonna leave you high and dry today we’re gonna dive a little deeper and I’m gonna show you step by step instructions on how to set up what I think is the best solution for beginners who are non-technical and who want to dabble in iOS app development without committing too much of a upfront investment all right stay tuned welcome to code with Chris, the place to be if you want to learn how to make an app I’m Chris and I hear that you want to learn iOS app development and you’re using a PC well you’re not alone in fact the most trafficked page on code with Chris calm is my article on Xcode alternatives on the PC in fact I get questions about how to run Xcode on Windows every single day. So in 2019, I decided to dive a little deeper to figure out what’s the best solution for Windows users and what I found is that there is no universal one-size-fits-all best solution instead the best solution depends on what your goals are and how technical you are for example if you’re a hundred percent committed to doing iOS app development then I would say go buy a Mac or go borrow someone else’s Mac or get access to a Mac computer lab there really is no better way to do iOS app development if you’re not a hundred percent committed but you do have a technical background then building a hackintosh or using virtualization software like VirtualBox to install macOS on your PC could be a good solution however I know that a lot of my audience are non-technical beginners who aren’t sure if I was app development is for them yet and they want to try it out and see if that’s something that they like if that sounds like you then I would recommend getting access to an actual Mac maybe your friend has a MacBook that you can borrow maybe your local library has access to Mac’s now the most important thing is that you can install Xcode on those machines so that you can actually try out iOS app development and see if it’s something that you want to do long-term now if you can’t get your hands on a Mac the next best solution is to rent remote access to a Mac there are services out there which allow you to connect to a Mac over an internet connection and you’re going to see that Mac’s desktop on the desktop of your PC in a window and you can control that Mac like that now this is not as ideal as actually having access to a Mac because there is a little bit of a lag as you’re controlling that computer through an internet connection but compare this with the actual investment of buying a Mac upfront which starts at $800 now if you’re anything like me you’ve probably bought a ton of stuff in the past that you thought you would use a lot more than you actually did for be gym memberships come to mind so instead of investing in Arman and like buying a Mac upfront I would first invest into one of these remote access Mac’s just to learn the basics of app development first to see if it’s something that you like and you want to do long term the service that I like the most is called MacStadium it’s because they’ve got the newest Mac and they’ve even been featured by Apple on stage so here’s what I’m going to show you how to do step one I’m going to show you how to sign up for MacStadium step two we’re going to connect to your Mac from Windows with a piece of software called TightVNC which is free step 3 we’re going to download Xcode and then step 4 we’re going to launch Xcode and build our first hello world app the first step is to sign up for MacStadium now they have a free trial but it’s not very long to be honest I like their service the best so I reached out to see if I could get something special for you guys and in fact they gave me an exclusive coupon code where you can use to get 50% off your first month that’s going to be enough time for you to go through this video go through my beginner video series where you’re going to learn the core app development skills and also enough time to get a ton of practice in and by the end of that first month you’ll be able to know if iOS app development is something that you want to continue with and you can just continue using the MacStadium service or try to find access to another Mac or to buy an actual Mac and if you find out that it’s not something that you like then hey it’s better than having bought a Mac upfront which then you’re gonna have to sell right so all you have to do is visit CodeWithChris.com/MacStadium and then you’re gonna click on the start my free trial button you’re gonna go through all of the steps and before the last confirmation button there’s a checkbox which you can enable to enter in a coupon code and you’re gonna use the coupon code CODEWITHCHRIS now I do want to mention that if you do use this coupon code to get 50% off your first month then I’m going to get a small kickback at no extra expense for you so it’s going to be a win-win situation and thank you so much for supporting my channel now we’re going to jump on the computer and I’ll show you how to sign up for MacStadium so after you go to codewithchris.com/MacStadium it’s going to bring you to this page and you can get a little more information about Mac Stadium and about the Mac’s that they have when you’re ready to sign up on the right hand side click on start my free trial and this is kind of the lowest tier Mac that they have it’s gonna be enough for iOS app development but it’s got also going to be the lowest cost for you so click on start my free trial it’s gonna allow you to configure your Mac you can leave it as it is any upgrade that you do is going to add to that monthly cost now there’s nothing that you can remove that will lower the monthly cost because this is kind of the base configuration but it’s going to be enough for us so once you’re satisfied with this click the orange start trial button on the right hand side and here you’re going to just enter in some account information you’re gonna create a brand new account so for me I’ve already got account so I’m going to just go ahead and login for you you’ll probably be creating a brand new account down there so here’s where I want to point your attention to you’re going to add a payment method but before you click on that orange button make sure that you check off I want to use a coupon code and in here put in CODEWITHCHRIS in all capital letters and then submit card payment or whatever that orange button says to proceed what’s going to happen is you’re going to get the one-day trial and then you’re going to be paying 50% off for that first month and after you submit your order it’s going to take about an hour for them to set up your Mac they’re going to send you an email right away telling you that that’s what they’re doing then you’re gonna have to wait a couple of hours for them to actually set it up you’re gonna get another email at that point with a link and you’re gonna click through that link which is going to bring you to their ticketing system and you’re going to be able to see your login credentials for your Mac now we’re going to connect to our Mac using TightVNC in your browser go to TightVNC.com and you’re going to let me go back to the home page here and you’re going to find this link called get your free copy of TightVNC click that on this page you’re going to be able to download an installer for Windows now if you’re not sure if you should to download 64-bit or 32-bit just go to your About your PC and scroll down a little bit and your gonna be able to see so here system type for me a 64-bit operating system so I’m going to download the 64-bit version so let’s go ahead and download that installer for Windows we’re gonna save it right there it’s a really small download and the reason I’m showing you each of these steps is because this installer actually has a couple of options that we want to configure so go to next read the Terms of agreement if you want and accept them and here you want to choose the custom installation type because what I want you to turn off is the type VNC server we don’t need that for this purpose that’s for actually allowing other computers to control your computer remotely that’s when you would want to install TightVNC Server and set that up and get that running all we want to do is use the TightVNC Viewer which allows us to connect to another computer so click on next and these options are fine click Next and click install click yes and then we finish alright so now we’re going to launch the program might be on my desktop oh there it is and all we have to do is specify the remote host IP address which is going to be in that installation ticket after they’ve set up your Mac so I’ve already got it saved here in my configuration but if you don’t you’re going to want to jump into that installation ticket to grab that IP address and you’re going to want to keep that password handy too because you’re going to need to use it right here now I don’t remember mine so I actually need to log in and get it all right so if you don’t see any support tickets keep in mind that there is a toggle here so you can toggle open and closed so maybe it the ticket was closed so you’re gonna need to check to close the status so there’s mine I’m gonna scroll up and grab my password we’re gonna copy and I’m just gonna paste it here and click OK and then it’s going to connect to our map there it is now this password for your administrator is the same password you just used to connect to this Mac and you might try to paste your password right here but it’s not going to work because the password that you copied is on your Windows clipboard not on your Mac clipboard so here you’re actually going to type it in manually and if your screen if you can’t see the whole desktop through this window what you can do is click these zoom buttons right here these scale and then scale out so you can kind of scale it so that you can see the entire desktop and you can also click on this fullscreen button as well all right so let me type in the password before I fullscreen it because otherwise I won’t be able to see it alright so as you can see I was playing around on the Mac but the first thing you’ll want to do is actually go into the Mac App Store and download Xcode so you should be able to see the Mac App Store icon right here and you’re gonna click on it now you’re gonna notice a little bit of a lag as you’re using your remote Mac and this is what I mentioned before you know ideally you can get access to a Mac so that you can try out iOS app development but if you don’t if you can’t and you don’t want to buy a Mac this is kind of the next best solution so in order to download Xcode through the App Store you’re going to need an Apple ID which is free and instead of signing up for it through your Mac here I would go back to your Windows desktop just visit Apple.com and up here click on sign-in and obviously you don’t have an Apple ID yet but there’s going to be a link there that says don’t have an Apple ID create one now so click that and you’re going to be able to create an Apple ID for free and after you have your Apple ID jump back into your Mac and login to the App Store and that’s going to allow you to download Xcode so search for Xcode hit enter it’s gonna bring it up and then you’re going to click on get and then install so for me it’s already open downloading and installing Xcode is probably gonna take at least an hour so I would just go grab a coffee or do something else and then come back because Xcode is quite a large program so once you’ve got Xcode installed – just launch it and you’re going to see something like this and in fact I’m just going to full screen my window take note of this keyboard command to get out of full screen ctrl alt shift + F so at this point we’re just going to create our brand new Xcode project and we’re going to do a simple Hello, World demo so we’re going to choose a single View application and you’re you’re gonna have to have a little bit of patience working with Xcode through this remote connection because there is a bit of a lag unfortunately but it’s still going to give you a chance to see if app development is for you so I had to enter a product name and change some of these organization name you can just put your own name and organization identifier is com dot whatever your name would be without spaces and I would uncheck unit tests an UI tests click on next and then we’re going to uncheck create get a repository on the Mac you’re gonna create it on the desktop now in this demo I’m just going to build a basic Hello World app but if you want a lot more instruction and a lot more teaching you should check out my beginner video series because this video is really just to demonstrate using Mac through Windows so I would go into the storyboard right now and then we would go ahead and click on this icon up here I’m going to add a label as soon as our view shows up that’s it there it’s still loading okay you’ve got it so we’re gonna go ahead click this button up here type in label so I already have a label here and then she’s gonna click and drag it on to the view alright so I’m holding the mouse here while the screen updates I’m gonna release it put it right there and now I’m gonna click on this inspector while I have that label highlighted and then I’m going to put my text box in there and I’m gonna say hello world press ENTER I’m going to Center this label by adding two constraints so click open this menu here we’re going to add a horizontal in container and vertical in container let’s wait for that check box to appear before I click add constraints and then we’re going to add these two constraints that’s going to center label onto the screen and then I’m going to run my project and the simulator is going to show up now the first time you’re gonna run your Xcode project that simulator is going to take a long time to show up so be patient subsequent times will be a little bit faster and also that simulator might be way way too big all you have to do is hold down alt and press 1 2 or 3 to change the zoom level to get it to a size that you’d like or you can click on the simulator and then click on window and you can change the zoom level as well so you know the it’s command 1, 2 or command 3 but on the windows keyboard it be alt 1 alt – there we go I’ve created a handy Xcode cheatsheet specifically for Windows users so it’s got keyboard shortcuts and reminders for a PC keyboard to download it simply click below or check the description for a link now that you have access to a Mac it’s time to learn the basics of iOS programming with my beginner video series it’s been viewed by over 1.2 million people and tons of success stories have come out of it simply click on the thumbnail and I’ll see you there

100 thoughts on “Xcode for Windows (2019) – iOS app development on Windows using MacStadium

  1. QOTD ⚡Are you interested in doing iOS app development but don’t have a Mac? Leave a quick comment and let me know!👇 Download my Xcode Cheatsheet designed specifically for Windows Users (PC Keyboard Layout) ➡️ http://bit.ly/xcodeforwindows

  2. I have a mac and PC and even before, I had Oracle VM in my PC. My grandpa has been experienced with many languages of coding, and he explained to me I can put a Mac on my pc because of the VM or something else. I thought about it, and I said okay. But we didn’t put it on, we waited for Christmas. Because I asked for a mac, and heck yeah I got it. And I’m watching your videos daily, to get ideas and tutorials! 💖

  3. For the people who want to get a mac for iOS development but don’t want to spend $1000+ on one, you can get decent second hand macs on ebay.
    I feel that there is this misconception floating around that you have to fork out tons of cash for a brand new mac at the apple store in order to develop for iOS. But that’s not the case.
    Just make sure it’s at least 2012 model.
    I have a nice 27 inch iMac from 2012 that I bought on eBay for $300. That’s only a third of the price of an iPhone XS! And it is on par with most modern macs in terms of speed. (Truth be told, desktop computer technology hasn’t really improved much in the past ten years.) And you could probably find a Mac mini even cheaper.
    Just be sure to read the entire description on the ebay listings. There are a ton of great used macs out there but there are still some shady sellers. Just use common sense when reading the descriptions.
    I hope this comment helps some people who otherwise feel like getting a Mac isn’t a reality.

  4. So useful for me especially for someone with a tight budget

  5. Hey Chris! so i have a really good idea for a dating app, but I know nothing about coding and im not the most tech savvy person. What would you suggest i do?

  6. Its good for windows users up to a certain level…After that must need to buy a new Mac

  7. You just can use virtual machine

  8. Is it supporting i3 processer lenovo, dell or asus

  9. I think it is good idea, to install Mac OS in vm you need powerful pc. Nothing difficult to do it with YouTube, but I think the best way it is buy Mac mini and it is the best way to start, I use Mac mini and all is good, just emulator is to long.
    Mac for 500$ is real. Some people it is expensive, but I live in Donetsk, we have war and I want create iOS apps, and I save money for it. You now we fave payment from 20$ per month and if 100$ it is not bad work…

  10. Apple watch app tutorials please?

  11. also macincloud existed for ages, but it's just to publish your app, coding in a cloud is not a good idea, so you need a mac anyway, if you plan to do an ios app.

  12. hahahaaha … what a fake …

  13. Your patience at the end with the mac slowness was zen/god mode haha.
    great video chris! 🙂

  14. Another way is by using React Native Expo. You can code on windows and even test on iPhone if you have one. Once you are finish you can let Expo built an iOS app on their server. Then you can use website like http://www.connectuploader.com to upload the .ipa file to App Store for submission. Bare in mind that this method is not efficient and you are definitely better off buying a cheap Mac Mini but if you want to start in iOS development without using much money, this is the way to go.

  15. The long-term budget solution is to get a used Mac Mini (2010 and newer) add an SSD and boom, u're ready to kick ass with XCode and Swift👍

  16. For what Mac Stadium are offering with this slow connection speed, it's way too expensive. You really can't code on such a platform. It's too slow. Excellent concept, but they need to invest in a better remote connection tool like splashtop. Much faster, clipboard transfer and file transfer with good speed. Then the pricing may be worth it. At this stage you are better off grabbing a vmware image of Mojave. It doesn't have vga acceleration but at least you don't have to deal with this lag and it doesn't cost anything. Sorry MacStadium, excellent idea, terrible implementation.

  17. VM would be a much better option and just as easy as going through all this. That lag would kill me after a couple of minutes

  18. if all u need is xcode,one year cost of this “macstadium” could buy yourself a very good condition used mac mini

  19. Click bate basically you need a Mac 😂🤦‍♂️

  20. hey im trying to use the IP address they send me. once i plug it into the remote host an error pops up. What should i do?

  21. the only reason im using macbook pro because of this xcode application… other than dat i still prefer windows as entertainment player ……

  22. OK here is a curve ball for you: I have an old Macbook Pro from 2007 still running strong. It does literally everything I need EXCEPT run the latest version of Xcode. I did recently max upgrade my OS and install the older Xcode 7 (highest I can go) and I followed you through your older tutorial for the "War" card game app (THANKS for keeping those old videos on your channel – so helpful!!). What is my best strategy when I want to develop for latest Apple devices and upload to the Apple app store? Can my old Xcode 7 do this ok or do I for sure need to run Xcode 10? If I DO need to run Xcode 10 can I install a virtual “newer” mac OS emulator and run the latest Xcode that way? I do have a 64 bit machine with Intel Core 2 Duo and maxed out ram. It runs Xcode 7 no problem. Thanks!!

  23. Do you have to be a good in maths for creating an app?

  24. Hi Chris, I have followed your instruction to run Xcode on windows 7, unfortunately when I try connecting to tightVNC with my entered IP address I get the error message:"Error in TightVNC Viewer: No security types supported. Server sent security types, but we do not support any of them."Any idea what I should do?Thank you,Michael

  25. Useless 😑😑😑

  26. i started with VM, i got tired of lags and bought macbook air

  27. too slow for me

  28. Same here! I couldn’t stand the lag of virtual machines at all. And I bought a Mac air 2018 for my capstone project.

  29. I have two Macs, but none of them support the attest version of OSX. Is there something i can do?

    They are a MacBook pro 2008 and a Mac pro 1.1.

  30. So bottom line… PC users r still fucked. Apple is really shooting itself in the foot by keeping XCODE mac only.

    Shouldn't it be obvious that the more options people have, the more likely they r to be able to get into the business???

    I would think that Apple as a company would want to have more developers at hand expanding the App ecosystem.

  31. Good video but people can also buy used Macs on eBay that's what I did.

  32. C’mon Chris I can’t believe you recommended this crap! 70 x 12 is actually $840 used 2014 Mac mini on eBay or Kijiji is less than $500 and will perfectly do the job. You’re probably recommending this because of your cut!

  33. Thanks for your video. It is awesome. Can you recomend me the minimum model of Mac computer that i need to programming with Mac and xcode. Thanks

  34. Hey thanks for your videos . Can you please make tutorial on building an android application using android studio?

  35. But Chris, isn't there any way to make it with just windows ? Or even Linux ?

  36. Thanks, I'm making Netscape Navigator for iOS.

  37. This is just stupid… If you're non-technical – you're NOT a programmer… Deal with it.

  38. What type of Mac do you recommend? Will the xcode work on the older version Mac?

  39. definitely misleading.. but the only good option provided was to build a hackintosh.

  40. Sorry dude not best solution

  41. It’s so expensive 😐😑

  42. Apple notebooks are too overpriced. Just like Wacom tablets

  43. Lol actually, finally I have a Macbook 2018 and I start to create my first app and already done the app on Android studio and I start the same app but ios version

  44. You are amazing

  45. The best solution is buy a Mac.

  46. better buy mac with credit card

  47. CAN I USE VIRTUAL BOX?

  48. you can always just use unraid/proxmox and virtualize a mac in the background ¯_(ツ)_/¯

  49. WHAT THE! It’s free on macOS, but here it costs money! Are u kidding?

  50. Who gonna mad to pay $69 for just cloud mac

  51. The big flaw with most Alternatives is that: Eventually at some point you get asked to input the serial number hard printed on the Physical body of your actual Mac. What are you going to do then? What are you going to do when you only have remote access to Mac, and the device on the other side just running by itself without anyone to read that serial number for you? Or when you only have a virtual Mac or Hackintosh ?

  52. I just subbed. You will be the the secondary reason for my success in this field. Good looking my G!

  53. Apple, oracle and Microsoft might jail their software all they want. The open source eco system will always win in the end.

  54. Wow!! so many bridges! this topic is so fucked up

  55. get a mac mini 2014 version, still works for latest ios and have a reasonable spec.

  56. FORGET THAT AND USE VISUAL STUDIO TO WRITE MAC APPS

  57. Thanks sir😎

  58. Can you make it on a mac air book

  59. Macinloud.com is much cheaper. Maybe you can partner with them.

  60. Ordaner laptop can use. This.. Xcode.. Soft ware. Or only apple laptop can use it

  61. doesn't help

  62. Thanks for the code to try the macstadium, but it was so slow that it wasn't even usable for me. I went ahead and bought a macbook air 11 for cheap off of ebay.

  63. petion to bring xcode to windows

    http://chng.it/FQLbhwYcmq

  64. I have a mac. can I download xcode on mac and transfer to windows through internet

  65. Q? After i download xcode in MacStadium through Windows will I have to do this everytime I want to upload a video or create a new image page?

  66. I have a mac (2015 and biggest and best processor @ the time), but its really outdated and is running really old version of macOS so I can't do this. And I'm to lazy to backup my files and then update it lmao. So mans just decided to make a VM to run MacOS xD.

  67. Waste of time

  68. My friends hate Apple, & this…
    I use android studio instead

  69. they onlky support wimdows 8 and 9

  70. I successfully set up IOS Mojabe on Virtual Box, but when I try to sign up to apple's store to install Xcode I get the error "cannot connect to app store", I looked it up and I found that it's related to the mac's serial number. How can I solve this please ? I just want to run the Xcode..

  71. fake

  72. impossible to work with these lags

  73. What did u major in ?

  74. https://cdn.discordapp.com/attachments/561111567480127508/614709800030175232/Screen_Shot_2019-08-24_at_4.36.03_pm.png
    LOL

  75. NICE WORK ————Thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

  76. nice work THXXXXXXXXXXXXXXXXXXXXXXXXXX man

  77. Me prestas tu cuenta de desarrollador para microsoft store? Es para actualizar el mio por favor

  78. Hi! So, i'm a bit lost. Your videos are so helpful and full of information, but I still have a few questions, and if you could help me I would really appreciate it. For example, I do have an Iphone, but I do not have any macbooks or anymore Apple devices. My goal is to start an app, and I have what I think is a good ideia and one that would help a lot of people. I do not intend and can't spend any money, unless is the only way, and in a really far and unique scenario. As you may notice due to my mistakes, I'm not a native speaker and I'm also a beginner in technology and programming, but I would really like to start an app with my idea, because I think it would help a lot of people. If you could text me back it would be awesome and if you could help me understand a little bit more about how to build an app, I would be so thankfull and would really appreciate it. Once more, I apologize for my grammar and I thank you for all your work and your videos, they're amazing.

  79. Any issues with using a hackintosh for app development?

  80. Hey Chris, can you tell something about MacStadium ? Cause I already know about Xcode and I don't want to watch any videos with Xcode on it. Oh so sorry . You did say about MacStadium in this "XCode" entitled video. Hmmm. I give you a LIKE !! Good job !!!
    ….

    That was a joke! I just disliked !! 😛

  81. too expensive, there are cheaper services out there.

  82. How do i put it on my phone ? The virtual machine Cant detect my iphone

  83. The lag is so horrible for me, feels like I'm on a broken computer from the early 90's , it takes like two minutes after I click something for it to finally open it, and when I type text it's slightly faster but takes about 10 seconds to update too…it's so painful, is it supposed to be this bad?

  84. Virtual Mac was the best for me

  85. hi, i want to redirect webapplication after click iOS app. and show at iOS app. how to do it?

  86. thank you for your videos! I'm getting stuck trying to publish my app because I don't have any "devices" registered in xcode. I can't plug an iphone into a virtual system. Any tips there? Thanks in advance!

  87. I like the iPhone. 🙂

  88. The lag made it completely unusable for me. Mojave running on VMWare actually ran batter than MacStadium. Not sure how on Earth people use a remote Mac that slow I would pull my hair out.

  89. Can you teach me How to make apps on iPad please

  90. The Start My Free Trial is not available anymore, so now is just Get Started, thanks anyway

  91. I'm thinking of getting a programming laptop but macs are too above my buget and already got an air

  92. jump straight to 5:10

  93. it not free
    x0b

  94. Lasciate perdere affitto mensile 79,00 , meglio comprarlo usato o crei una macchina virtuale.

  95. How can you create an app for both or Just Google Play?

  96. Hey Chris, I've been watching your lessons these days and I did some research about creating apps and found out that it takes minimally 75k to create the apps I wanted. Does it mean I can save that money by watching Your video here?

  97. Just use a Mac VM and you can get Xcode free forever no need to spend money on a rented Mac (don't trust the rented Macs either)

  98. hi Chris !
    if i don't have mac so how to connect to mac using tightvnc

  99. Or you can just learn SWIFT using online compilers.

  100. Is it recommended a macbook pro, 16 GB RAM, and 256 GB SSD, to develop apps? I've heard that the 2015 macbook pro is better than the last model, is this true?

Leave a Reply

Your email address will not be published. Required fields are marked *