Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 10, 2008, 07:52 AM   #1
raziiq
macrumors member
 
Join Date: Aug 2008
Programming Iphone in Windows Environment?

Hey there
i have a simple question, is it possible to develop apps for iPhone in windows Environment using .Net Studio or may Java??
raziiq is offline   0 Reply With Quote
Old Sep 10, 2008, 07:53 AM   #2
Jeremy1026
macrumors 68000
 
Join Date: Nov 2007
Quote:
Originally Posted by raziiq View Post
Hey there
i have a simple question, is it possible to develop apps for iPhone in windows Environment using .Net Studio or may Java??
No the SDK only runs on Mac. You could always right the code on windows, then send it to someone with a Mac to compile it, but that would be a serious pain and make debugging take forever.
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Sep 10, 2008, 07:56 AM   #3
raziiq
Thread Starter
macrumors member
 
Join Date: Aug 2008
thats a real sad news?

it means windows Developers should wait for some windows based environment to develop apps for iPhone
raziiq is offline   0 Reply With Quote
Old Sep 10, 2008, 08:03 AM   #4
Jeremy1026
macrumors 68000
 
Join Date: Nov 2007
Quote:
Originally Posted by raziiq View Post
thats a real sad news?

it means windows Developers should wait for some windows based environment to develop apps for iPhone
Don't expect to see Apple make a windows solution any time soon. Apple would have to port over xcode, which is a HUGE program, it wouldn't be cost effective to them to port it. You'd be better off buying a used intel mac mini off ebay for $200-$300 and develop on that.
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Sep 10, 2008, 08:11 AM   #5
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Even if Apple port the SDK and all related tool to Windows (let's just pretend this will ever happen) it still wouldn't let you use .Net or Java: you'd still have to use Cocoa Touch/Objective-C. Apple are not going to bother slowing the phone done by supporting other languages/frameworks. So as a Windows developer you'd still have to learn the correct toolset for the device.
robbieduncan is offline   0 Reply With Quote
Old Sep 10, 2008, 08:11 AM   #6
raziiq
Thread Starter
macrumors member
 
Join Date: Aug 2008
i thought so, Apple wont be going with it.
Well i think i should build my apps in windows and compile then on my Uni's Mac.
What Compiler do i have to use to compile my apps in Mac? Is there some built in Compiler in Mac for this purpose?
Sorry i am a Windows User, dont know much about Mac
raziiq is offline   0 Reply With Quote
Old Sep 10, 2008, 08:19 AM   #7
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
You need the Developer toolset which you can download and install from Apple on any Mac running a recent version of OSX Leopard. You need administrator rights to install this.

I cannot imagine that you will be able to write code in Windows the compile on a Mac though: you will simply get frustrated.
robbieduncan is offline   0 Reply With Quote
Old Sep 10, 2008, 08:29 AM   #8
raziiq
Thread Starter
macrumors member
 
Join Date: Aug 2008
Alright i think i have give up the idea of developing apps for iPhone in Windows or should learn the Apple Developer Toolkit and buy a Mac
raziiq is offline   0 Reply With Quote
Old Sep 10, 2008, 08:32 AM   #9
Niiro13
macrumors 68000
 
Join Date: Feb 2008
Location: Illinois
Send a message via AIM to Niiro13 Send a message via MSN to Niiro13 Send a message via Yahoo to Niiro13
If you think about it, by the time Apple ports over Xcode, the serious developers would have saved up enough money for a cheap Mac...it just wouldn't be worth it considering the amount of people that try the SDK out, then never come back to it...

But yeah, the iPhone applications are all written in Objective-C.
Niiro13 is offline   0 Reply With Quote
Old Sep 11, 2008, 04:50 AM   #10
mccannmarc
macrumors 6502
 
Join Date: Aug 2008
Location: Manchester, UK
Send a message via MSN to mccannmarc
Word to the wise, DO NOT ask if you can compile your project on your uni's mac!!! Just do it when no-one is around. Most uni's will claim a percentage of the program royalties as theirs if they are aware you are making money as you have used their machines as part of the development process. What's more I bet when you signed the papers to go to uni you unknowingly signed and agreed to that clause...
__________________
DudeWare site:- http://www.dude-ware.co.uk DudeWare forum:- http://www.forum.dude-ware.co.uk
mccannmarc is offline   0 Reply With Quote
Old Sep 12, 2008, 04:27 AM   #11
coolman
macrumors newbie
 
Join Date: Jul 2008
Location: La Coruna, Spain
If Microsoft with the .NET developing environment doesn't allow you to use in Mac OSX .. why Apple will be different?

You need an Intel Mac for doing this. Sad news? No, just a requisite.
__________________
Regards,
Pablo
coolman is offline   0 Reply With Quote
Old Sep 12, 2008, 05:38 AM   #12
moopf
macrumors member
 
Join Date: Aug 2008
Location: United Kingdom
Quote:
Originally Posted by coolman View Post
If Microsoft with the .NET developing environment doesn't allow you to use in Mac OSX .. why Apple will be different?

You need an Intel Mac for doing this. Sad news? No, just a requisite.
In fairness, Apple doesn't make it easy for developers to use OS X *unless* they buy a Mac due to the licensing terms of OS X. Microsoft doesn't care what hardware Windows is run on, they don't stipulate that it can only be run on a particular vendor's hardware. Proof of this is Boot Camp in OS X! Apple does care, presumably to boost their hardware sales.

That attitude has never sat well with me but, as I was in the market for a new laptop to replace my Dell XPS and wanted to do some iPhone development, I ended up buying a Macbook Pro so I could run both OS X and Windows on the same machine.

On the plus side, even if my iPhone work never takes off (in which case I've got no need to run OS X at all), I'll still be more than happy with the laptop just running Vista - it is a nice machine and I don't regret buying it. But I don't think it's ideal that this should be forced, just so you can run their OS. It makes it much more difficult for Windows developers to move into Mac dev.
__________________
Hiqup - The peg-jumping brain-buster. Now permanently priced at $0.99
moopf is offline   0 Reply With Quote
Old Sep 12, 2008, 11:59 PM   #13
coolman
macrumors newbie
 
Join Date: Jul 2008
Location: La Coruna, Spain
Quote:
Originally Posted by moopf View Post
Microsoft doesn't care what hardware Windows is run on, they don't stipulate that it can only be run on a particular vendor's hardware.
Remember that Apple is also a hardware vendor, Microsoft not.
__________________
Regards,
Pablo
coolman is offline   0 Reply With Quote
Old Sep 13, 2008, 06:42 AM   #14
JonnyThunder
macrumors member
 
Join Date: Aug 2008
I (rather naughtily) installed OS X on an Intel laptop and successfully had XCode working for iPhone development. However, it only took me about a day before I ended up wiping it and buying myself a 24" mac for my development.

Not a word of a lie - I'm SO glad I did. If it weren't for the fact I have to use Windows at work, I'd have no Microsoft-based PC in my life at all. Not for development anyway.

My advice: invest in a second hand mac, or buy a shiny new one like I did!

JonnyThunder is offline   0 Reply With Quote
Old Sep 21, 2008, 10:00 AM   #15
jpbjr21
macrumors newbie
 
Join Date: Sep 2008
Quote:
Originally Posted by Niiro13 View Post
If you think about it, by the time Apple ports over Xcode, the serious developers would have saved up enough money for a cheap Mac...it just wouldn't be worth it considering the amount of people that try the SDK out, then never come back to it...

But yeah, the iPhone applications are all written in Objective-C.
i was just wonderin if you can code in windows using only cocoa touch and objective c without the iphone sdk and would you still be able to develop for the ipHone on windows?
jpbjr21 is offline   0 Reply With Quote
Old Sep 21, 2008, 10:03 AM   #16
jpbjr21
macrumors newbie
 
Join Date: Sep 2008
Quote:
Originally Posted by JonnyThunder View Post
I (rather naughtily) installed OS X on an Intel laptop and successfully had XCode working for iPhone development. However, it only took me about a day before I ended up wiping it and buying myself a 24" mac for my development.

Not a word of a lie - I'm SO glad I did. If it weren't for the fact I have to use Windows at work, I'd have no Microsoft-based PC in my life at all. Not for development anyway.

My advice: invest in a second hand mac, or buy a shiny new one like I did!

how did u install os x on the intel laptop?
jpbjr21 is offline   0 Reply With Quote
Old Sep 21, 2008, 10:12 AM   #17
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Quote:
Originally Posted by jpbjr21 View Post
i was just wonderin if you can code in windows using only cocoa touch and objective c without the iphone sdk and would you still be able to develop for the ipHone on windows?
The SDK is not XCode: that is the IDE. The SDK is really made up of the libraries to compile against, the simulator and the connection to install code on a device. The libraries include Cocoa Touch. These don't exist on Windows and cannot be obtained so I have no idea how you are going to compile against them on Windows.
robbieduncan is offline   0 Reply With Quote
Old Sep 22, 2008, 05:36 AM   #18
mccannmarc
macrumors 6502
 
Join Date: Aug 2008
Location: Manchester, UK
Send a message via MSN to mccannmarc
The official sdk and the unofficial sdk are around 90% identical and you can code for the unofficial sdk on windows no problem. If and when the time comes that you want to sell your app you can then look into buying a mac and with either zero or very few changes to the code it would compile in xcode as a standard sdk app.

This however is all providing that you stick with the libraries used in the official sdk and are not tempted to venture into the private frameworks etc that the unofficial toolchain allows access to.

You would need to jailbreak your iPhone but its a good way of getting your feet wet before buying into a mac just to test the apps on your phone.
__________________
DudeWare site:- http://www.dude-ware.co.uk DudeWare forum:- http://www.forum.dude-ware.co.uk
mccannmarc is offline   0 Reply With Quote
Old Jul 1, 2009, 01:59 PM   #19
Thijsiez
macrumors newbie
 
Join Date: Jul 2008
Quote:
Originally Posted by jpbjr21 View Post
how did u install os x on the intel laptop?
There is a project called OSx86 which actually is a hacked OSX so it runs on most windows-based hardware. Their homepage is here. That page only supplies a list of hardware support. you can download an .iso disk image from a random torrent site. Try iDeneb's version of OSx86 (i think it is the best one)

Thijsiez
Thijsiez is offline   0 Reply With Quote
Old Apr 7, 2011, 11:32 AM   #20
DOTRT
macrumors newbie
 
Join Date: Apr 2011
Running Mac apps on Windows

Mac OS emulators for PC

http://oreilly.com/windows/archive/PearPC.html

http://www.emulators.com/

www.dragonfiresdk.com



How To Install Mac OS X Snow Leopard in a Virtual Machine With VMware Workstation

http://www.youtube.com/watch?v=90KpPFenX08

http://www.youtube.com/watch?v=DThspgJ-Sm8



Also vmware will run Mac apps on a PC
DOTRT is offline   0 Reply With Quote
Old Apr 7, 2011, 02:01 PM   #21
chrono1081
macrumors 604
 
chrono1081's Avatar
 
Join Date: Jan 2008
Location: Isla Nublar
Quote:
Originally Posted by raziiq View Post
Alright i think i have give up the idea of developing apps for iPhone in Windows or should learn the Apple Developer Toolkit and buy a Mac
I would suggest buying a Mac. Most people end up loving the OS anyway. Its actually really nice to develop one.

I was a longtime developer on Windows and now I barely touch it anymore unless I need to use DirectX. OSX and XCode are just really nice to develop in.
__________________
Mac Pro (2010): 3.33Ghz Intel Xeon (6 core) - 24 GB RAM - NVidia Quadro k5000
Macbook Air (2010): 2.13 Ghz Intel Core 2 Duo - 4GB RAM
chrono1081 is offline   0 Reply With Quote
Old Apr 7, 2011, 04:27 PM   #22
ulbador
macrumors 68000
 
ulbador's Avatar
 
Join Date: Feb 2010
Quote:
Originally Posted by DOTRT View Post
PearPC? That was a not-even-alpha level PowerPC emulator. It hasn't been updated in 6 years or more.
__________________
Mooooooooooooo
ulbador is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone vs Windows Phone 7 iPhoneCollector iPhone 65 Jan 2, 2011 04:29 AM
Mac mini server in Windows environment Muddy Mac mini 15 Oct 6, 2010 08:04 AM
How to program for iPhone in Windows? skypower iPhone and iPod touch Apps 4 May 22, 2010 10:29 PM
Way to Testdrive OSX in Windows Environment? wyrtyr OS X 4 Jun 19, 2008 08:27 AM
How to Unlock a Virigin 1.1.1 iPhone in Windows? uPhone iPhone 2 Oct 17, 2007 01:56 AM


All times are GMT -5. The time now is 06:56 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC