Home > OS >  How can I use SwiftUI on Windows to make an iOS app?
How can I use SwiftUI on Windows to make an iOS app?

Time:06-09

So I have experience with programming already (Java, JS, Python), but I’m a complete newbie with Swift. I have a computer that runs Windows, but I would like to use SwiftUI and assume that I can’t without having macOS. I’ve heard of using Hackintosh to get around this OS problem, but is there anything else I could do? Thanks to whoever can help me with this.

CodePudding user response:

Native way to create native iOS apps is done using XCode.app, which can only be run on MacOS.

Hackintosh is a solution to run MacOS on unsupported hardware. It is possible, but be prepared for many nights spent setting it up, unless you have perfectly compatible hardware.

Another way to consider is to run it in a virtual machine, see this StackOverflow question.

BEST solution: Considering that apple developer accounts is about $100 a year, it is not a huge overpay to buy a used MacMini for your development (if money is an issue).

CodePudding user response:

There are no ways (other than renting a cloud mac) to develop IOS/MacOS/Apple Watch project using non-MacOS operating system. You either buy one, rent one, or built a hackintosh

  • Related