1270

Is there any way to tinker with the iPhone SDK on a Windows machine? Are there plans for an iPhone SDK version for Windows?

The only other way I can think of doing this is to run a Mac VM image on a VMWare server running on Windows, although I'm not too sure how legal this is.

16

42 Answers 42

1
2
2

As many people already answered, iPhone SDK is available only for OS X, and I believe Apple will never release it for Windows. But there are several alternative environments/frameworks that allow you to develop iOS applications, even package and submit to AppStore using windows machine as well as MAC. Here are most popular and relatively better options.

PhoneGap, allow to create web-based apps, using HTML/CSS/JavaScript

Xamarin, cross-platform apps in C#

Adobe AIR, air applications with Flash / ActionScript

Unity3D, cross-platform game engine

Note: Unity requires Xcode, and therefore OS X to build iOS projects.

1
  • 1
    You can't use unity to make iphone games on windows because you still need xcode to compile the project unity exports.
    – benbot
    May 25, 2014 at 13:00
2

(accurate as of late 2014)

For access to the native tools (Xcode etc) there are two main options:

1. Virtual machine

Look around for the mavericks (10.9) vmware image that works with a modified Vmware Workstation/Player. Once the machine is able to boot, it can be updated to 10.9.5 with no apparent issues.

The good: relatively low learning curve (if you are somewhat familiar with vms)

The bad: reduced performance due to virtualized environment, no 3d acceleration (QE/CL)

2. Hackintosh

This is the sensible option if you are planning to procure new hardware (or at least partly), instead of retrofitting existing equipment (but you might be lucky to have one of the common OEM models (like Dell) that already have recipes written for it)

The good: no penalty on hardware performance, which might even surpass that of a real mac. The same hardware can also be used for other OSes if you are open to multibooting

The bad: higher learning curve, more hardware limitations (no drivers for certain Intel wifi etc) which may translate into higher investment if you had no intention to get new hardware originally

Needless to say, both options above are frown upon by the fruit company, so licensing compliance is not part of the discussion.

3. An actual mac (added in 2016)

This option is perfect for people who already have a mac and use it as a Windows development machine via Bootcamp etc. This also has the least support issues (apart from complications that may result from multi-booting), so it is recommended for those looking for a long-term solution (hardware that works not just for the current OSX version but future versions as well)

1
  • Not sure some tools licensing code works on Hackintoshes... They use some APIs to create a machine hashkey from the machines hardware like HD ids and such. I believe Xamarin fails to work on some Hackintosh boxes for example. If using Xamarin from visual studio on a Windows PC buy the cheapest Intel Mac Mini from ebay to be your build machine. Jul 30, 2015 at 15:35
2

Visual Studio + Xamarin will do the job.

Visual Studio

Yet, I'd recommend you get a Mac and develop iOS apps in Xcode.

When in Rome, live like the Romans do.

2
  • 1
    Xamarin outside of Mac will not allow you to write iPhone apps -- i.e. this is not a viable solution.
    – Clearer
    May 1, 2018 at 11:38
  • To debug Xamarin solutions you'll need MacOS on one end. It is possible to remotely use this device from Windows.
    – Ivan P.
    Nov 4, 2019 at 6:02
1

There's also Sencha Architect and Sencha Touch from the company that makes Ext JS.

1

So the bad news is that XCode is needed for its iOS Simulator as well as its Application Loader facility for actually uploading the programs to iOS devices for "real" testing. You'll need XCode for signing your apps before submitting to the App Store. Unfortunately, XCode is only available for OS X.

However, the good news is that you may be able to purchase OS X and run it in a virtual machine such as VMWare Workstation. I don't know how straightforward this is, as it is rather difficult to get OS X to run on non-Apple hardware, but a quick Google search shows that it is possible. This method would (likely) be cheaper than purchasing a new Mac, although the Mac Mini retails in the US for only $599. Some posts I've seen indicate that this may or may not be legal, others say you need OS X Server for virtualization. I'll leave the research up to you.

There are also services such as MacInCloud that allow you to rent a Mac server that you can access from Windows via remote desktop, or through your browser. Unfortunately, I don't think you'd be able to use Application Loader, as you have to physically connect the device to your computer, but it would work for development and simulation, at least.

Good luck!

1

This is a new tool: oxygene which you can use to build apps for iOS/Mac, Windows RT/8 or Android. It uses a specific language derived from Object Pascal and Visual Studio (and uses .net or java.). It seem to be really powerful, but is not free.

0

Please take a look at Xamarin. They have an extension for Visual Studio (http://xamarin.com/visual-studio).

Taken from their site:

Xamarin provides Visual Studio add-ins so that you can develop your iOS, Android and Windows apps all in a single solution. The Xamarin extensions support building, deploying, and debugging on simulator or device.

1
  • 3
    But Xamarin development for iPhone needs Xamarin, mac edition.
    – TonySalimi
    Mar 8, 2014 at 11:07
0

Check out NS Basic/App Studio. It's Visual Basic for the iPhone. (though you can also code in JavaScript). It produces WebApps which can be distributed without going through the App Store. Apps will also run on other platforms, like Android. NS Basic/App Studio

0

B4i is a new development tool that creates native iOS apps. It runs on Windows. When a full compilation is required (in most cases it is not required) the project is compiled on a hosted builder. Each compilation takes about 5 seconds. B4i

0

I use Flutter. I develop on my Windows machine and test on an Android emulator. When I'm ready to test on iOS, I run the code on macOS. From my experience, a Flutter app runs exactly the same on Android and iOS. If you don't have a Mac, you can download VirtualBox and install macOS on it. On VirtualBox, macOS runs exactly as it does on a real Mac, and you can build your app on it.

-7

You can make apps for iPhone using Java, and Java can connect to the web.

1
  • Your answer is very unspecific and doesn't contain any explanation. Would you mind adding some? Nov 19, 2021 at 9:30
-10

Just make a web application. iOS web applications are:

  1. Reliable. The amount of time it takes to make an update is far shorter than with Xcode.
  2. Fast. JavaScript on iOS is, by nature, far faster than native apps.
  3. Free. You never have to pay Apple a cent, as Apple doesn't have any control over you.
  4. Safer. If a crash occurs with a native app, it can take down even the newest iOS devices for hours or even days, until the user can fix them. If a web app crashes, the user just has to close and reopen it, worst case scenario.
  5. Offline. You can easily create a service worker to handle your app.
  6. Secure. Because you do not have access to native APIs, a security breach will be significantly less dangerous.
  7. Easy to program. A basic iOS web app can be programmed from the Safari URL bar on an iPhone. Literally. I've done it myself.
2
  • 3
    Did you actually say that Javascript is faster than native apps?
    – Sulthan
    Mar 27, 2022 at 20:29
  • Yes. It takes less time to boot Windows 1 on an iPad Mini 2 on v86 and open Notepad than it does to start Microsoft Teams.
    – 9pfs
    Mar 27, 2022 at 20:33
1
2

Not the answer you're looking for? Browse other questions tagged or ask your own question.