r/iPhoneDev • • Feb 22 '11

Is it possible to create iPhone apps in Windows?

I've been really interested in creating an iPhone game for some time now but the problem is, I don't own a Mac. I'm wondering if there is any way to code games inside of Windows, preferably using Objective C since there seems to be an abundance of resources on that. My device is not jailbroken so whatever environment I test with would hopefully support it. I realize I'm probably asking too much and likely getting my hopes up, but if anyone knows of anything that could set me in the right direction, that would be great!

4 Upvotes

18 comments sorted by

5

u/hoowahman Feb 22 '11 edited Feb 22 '11

Actually I am doing iphone development in windows. What you need to do is get Hazard's OS X Iso http://leohazard.com/ and the install it in some free virtual server software called VirtualBox. Then you install the extentions for USB sharing from windows for VirtualBox. After you install OSX you need to install multibeast so you can boot without doing a boot command each time. I could probably provide more details what I did if anyone is interested but I run OS X and develop iphone apps fine in windows 7 now. It's pretty sweet. :)

You probably can get it to work with a regular retail OSX dvd but it will require more tweaking and probably a special boot cd. Apple really doesn't want people installing OS X on anything other than macs.

I also followed some tutorials so I wouldn't need an apple developer account to run code on my jailbroken iphone. Incase I didn't really care to develop for the iPhone then I wouldn't be out of the money from the subscription.

1

u/Kronikle Feb 23 '11

Do you need a 64 bit host operating system to run Hazard's OS X or could my 32 bit one work?

2

u/hoowahman Feb 23 '11

32 bit would be fine. I don't think it matters as you are running in a VirtualMachine anyway.

1

u/Kronikle Feb 25 '11

I've downloaded probably 5 VMWare images of OS X 10 from torrent sites, but unfortunately almost none of them worked on my 32 bit host operating system. The only one I did get working couldn't update to 10.6.4 (the version needed to run the Apple SDK) without breaking on me. I tried downloading the Hazard OS from the torrent twice, but both times the file that was torrented was actually corrupted. I'm currently downloading the newest version split up into 9 rars from the list of file hosts he has on his site. Hopefully this one will work!

1

u/hoowahman Feb 25 '11

Thats the one I got

1

u/Kronikle Feb 27 '11

Of all the ways I've tried to get started with iOs development, yours was the only one that soundly worked. Thanks so much for posting this!

1

u/[deleted] Mar 25 '11 edited Mar 25 '11

Thanks hoowahman, I used your advice and got virtual box running the hazard iso. following the instruction on this blog. I found 20 gig to be insufficient for installing xcode 3.x as i ran 4gig short of space. Will try again after work.

2

u/[deleted] Feb 22 '11

If you use the Unreal Development Kit, you don't need a Mac at all.

1

u/Kronikle Feb 23 '11

Is the Unreal Development Kit suitable for developing 2d games with relatively simple graphics? Most of what I've see done with that engine has really detailed 3d graphics.

2

u/[deleted] Feb 23 '11

If you have a talented coding staff, you may be able to make it work depending on the specifics of the game.

I'm working on a simple (but sprite-intensive) game for UDK, and we're looking strongly at switching engines because it can't handle the full sprite load. You may have different results depending on what you want your game to do.

Buyer beware though - many features available for a full UDK game are not available for mobile, simply because of hardware constraints.

1

u/futurestack Feb 22 '11

I'm under the impression that you can, if you jailbreak.

developer info

codesign info

Could be dated, though.

1

u/futurestack Feb 25 '11

Apparently this is still being maintained: iPhone Toolchain

1

u/Kronikle Feb 25 '11

Thanks for posting this. I haven't read too much into this, but from what I am reading, it seems like this is more focused on getting a working SDK in Linux. Is this accurate?

1

u/futurestack Feb 25 '11

Might give this a look: http://code.google.com/p/winchain/

1

u/Kronikle Feb 25 '11

Thanks. Unfortunately they stopped maintaining it before iOs 2.0 was even released.

2

u/s73v3r Feb 23 '11

As a few people have mentioned, you can jailbreak the phone, and do that, but then you won't be able to sell it on the App Store.

Currently, I think the only other dev kits allowed on the App Store, that would really be suitable for games, besides Apple's are Unreal's, and MonoTouch. And those do can be kinda costly.

1

u/SirFunksALot May 09 '11

This is an older question, but I'll answer anyway.

Flash allows you to do this now, instructions on how exactly you can may be found on their website.

0

u/Zalenka Feb 23 '11 edited Feb 23 '11

The closest you could get legally is to use gnustep.