views:

48457

answers:

14

I know there is no official SDK for windows, which is very annoying. Is there any way to develop applications on a windows computer, other than somehow running a mac os in vmware? I know you can do it with Xcode, but that is also only for macs. Google searches have revealed absolutely nothing......

If I cannot use the SDK or Xcode, any way I can just check syntax or something and just make my code in Notepad and save it with the proper extension? I have no idea whether or not I would be able to do that, probably because I have never even tried the SDK and probably never will without buying a mac.

+1  A: 

You could do what saurik of Cydia does, and write your code on a PC then build it on the iPhone itself (it is a Mac, technically!) after you jailbreak it. However, you don't get Interface Builder, so you're basically creating UIs in code by hand. It'd also be pretty tough to actually submit your app without a Mac.

Paul Betts
I realize that I may be the only person left on the internet with morals, but I don't really want to jailbreak.I can submit apps just fine on the site, but since I cannot create them the point is moot.
Cyclone
Stealing software is immoral - jailbreaking is not. What moral code are you breaking?
Paul Betts
Wait, what exactly does jailbreaking do? As far as I know, all it does is allow access to all apps for free.
Cyclone
Jailbreaking lets you use the toolchain of Open Source tools for the iPhone.
Nosredna
Jailbreaking your own iPhone is not immoral. You have purchased the hardware and software, and should be able to use it as you see fit. Apple hasn't even proven it's illegal (which is quite different from immoral).
Matthew Flaschen
Jailbreaking has nothing to do with pirating apps. It's simply a way to escape Apple's arbitrary limitations (e.g. no third-party apps, no shell environment, etc.).
Matthew Flaschen
I personally do not condone jailbreaking. Yes, it technically has nothing to do with pirating apps, but it's a very fine line to walk, because many less-moral iPhone users jailbreak their phones and have no qualms with pirating apps. I wish it were harder to jailbreak the iPhone - developers would not have to worry about piracy the way they do now. And believe me - it IS a problem.
unforgiven3
+17  A: 

I looked into this before buying a Mini. The answer is, essentially, no. You pretty much have to buy a Leopard Mac to do iPhone SDK development for apps that run on non-jailbroken iPhones.

Not that it's 100% impossible, but it's 99.99% unreasonable. Like changing light bulbs with your feet.

Not only do you have to be in XCode, but you have to get certificates into the Keychain manager to be able to have XCode and the iPhone communicate. And you have to set all kinds of setting in XCode just right.

Nosredna
Not exactly what I was hoping to hear....but thanks for the info.
Cyclone
+2  A: 

No, you must have an Intel Mac of some sort. I went to Best Buy and got a 24" iMac with 4G RAM for $1499 using their 18 month no interest promotion. I pay a minimum payment of something like $16 a month. As long as I pay the entire thing off within 18 months - no interest. That was the only way I was getting into iPhone development.

Optimal Solutions
$16 * 18 = $288. So, how's that balance coming along?
Christopher Parker
I paid that balance off a while ago. Hows that blog coming along? ;-)
Optimal Solutions
A: 

Technically you can write code in a .NET language and use the Mono Framework (http://www.mono-project.com/) to run it on the iPhone. I haven't ever seen someone do this from scratch, but the folks that write the Unity Game Development platform (http://unity3d.com/) use it to make their games iPhone-compatible. The game itself is written in .NET, and then they provide an iPhone shell with the Mono frameworks that allows everything to run on the iPhone. I don't know whether they've contributed all of their modifications to Mono back to the open-source repository, but if you're serious about writing iPhone apps outside the Mac environment, it might be possible.

That said, I think you could dump weeks into getting that to work, and it might be best to invest in a Mac instead :-)

Ben Gotow
I did a little more digging, and it looks like a lot of the Mono stuff for iPhone is low-level and closed-source. Not really a viable solution after all...http://www.mono-project.com/Mono:Iphone
Ben Gotow
Wait wait wait, so I could code it in VB.net? Awesome! That makes this easier.Even though it is "low-level and closed-source", it might be developed further soon, and I hope it is.
Cyclone
You have to be careful to not trigger rejection due to using external libraries and interpreters that Apple doesn't provide (basically anything other than Safari's JavaScript). You don't want to finish something and have it rejected. This is assuming you want to sell through iTunes.
Nosredna
+1  A: 

This really comes down to how much you value your time. As the other posters have mentioned, there are a couple of ways you can build iPhone apps without a Mac, however you are jumping through serious hoops and it'll be much more difficult and take longer than it would with the proper development chain.

You can buy a second-hand Mac Mini for a couple hundred bucks on ebay. If you're serious about doing iPhone development you'll make this back in saved time very quickly.

Dave Rigby
+5  A: 

You could easily build an App using PhoneGap (http://phonegap.com/), or Appcelerators "Titanium Mobile" (appcelerator [dot] com/products/titanium-mobile/).

Both of these essentially act as a Webkit wrapper, so you can build your application with HTML/CSS/Javascript. It's a pretty portable solution, too, but you are somewhat limited in what you can make - i.e, no intensive rendering or anything. It really all depends on what you're looking to do.

Ryan McGrath
Ooh, nice. Now, is either one free? This is very exciting to hear!!!
Cyclone
Err, neither one appears to let you make actual apps, like ones you could sell in the appstore...
Cyclone
Nevermind, appcelerator looks perfect and I have signed up for the beta. You just won yourself a bounty ;)
Cyclone
Glad I could help! I've enjoyed some level of success with PhoneGap, but Titanium seems great as well. Good luck! ;)
Ryan McGrath
This was exactly the type of thing I was looking for!!! Once I have created an app, how do I sell it in the store?
Cyclone
"Once I have created an app, how do I sell it in the store?" You beg, borrow, or steal a Macintosh. ;-)
Nosredna
Hah, lol. Very funny ;) (Ill just borrow one.)
Cyclone
I was looking for it for years
Xinus
PhoneGap seems really cool! Thanks for the tip!
Kolky
A: 

Be careful about buying Mac Mini's on ebay if you are unaware, I found out the costly way that you need an intel based Mac to run the iPhone Simulator. I've put a tutorial on the web for getting the iPhone SDK running on windows though, have a look here

Thanks! My only problem is that I don't want to buy an OS, I might as well just buy a Mini Mac from a retail store.
Cyclone
A: 

There are two ways: If you are patient (requires ubuntu corral pc and android sdk and some heavy terminal work to get it all set up) http://iphoneworld.codinghut.com/2009/07/using-the-3-0-sdk-without-paying-for-the-priviledge/

If you are immoral (requires OSX leopard and virtualization both only obtainable through great expense or pirating) *remove space from link htt p://iphonewo rld. codinghut.com /2009/07/using-the-3-0-sdk-without-paying-for-the-priviledge/

I use the ubuntu method myself.

Im neither patient or immoral lol. I am not good with hardware, so at this point I may just develop apps with Titanium Developer, and port it to ipod later.Thanks for the suggestion!
Cyclone
A: 

Sorry, I included the same link twice in my last post...The ubuntu link is http://www.iphone.org.hk/cgi-bin/ch/topic_show.cgi?id=9608

+2  A: 

There is another solution if you want to develop in C/C++. http://www.DragonFireSDK.com will allow you to build iPhone applications in Visual Studio on Windows. It's worth a look-see for sure.

Jim
Looks like they messed up their content headers, I am getting it as plain text instead of HTML. Ill look for the download link somewhere...
Cyclone
Found the email address, got the sdk! Now all I need to do is learn c++.
Cyclone
A: 

Hi, hope it's not too late to suggest you another solution ;) You can try iSpectrum, if you now have a mac to develop on. It will allow you to develop and debug applications written in Java with access to the iPhone SDK simulator. You don't have to jailbreak your iPhone/iPod, and you can also publish your app on the appStore.

http://www.flexycore.com

Butters
A: 

Fux was gonna try iphone sdk then noticed it needs a mac. Well screw that i guess.

ColacX
Lol! I wound up using a friend's mac, they let me borrow it for a few weeks.
Cyclone
A: 

i need dragonfire sdk ultimate full version !!!

emre
A: 

LOL... run hackintosh in vmware.... look at

http://[www dot]mahmood1[dot com]/Windows_Mac_Google_OS_Virtualisation.php

then you can update/install xcode and have a fun time :)

Fake Name