views:

14758

answers:

11

I’m interested in developing an iPhone application using Visual Studio and C#.NET on Windows Vista.

I tried to download the SDK from http://developer.apple.com/iphone/index.action, but the file has a .dmg extension and I don’t know how to open that file.

So can I as .NET developer work and develop against iPhone APIs? And are there any existing applications which haven been developed using .NET? Are there any resources or web sites can help in that matter?

Thanks!

+2  A: 

No, you cannot.

Ry4an
so how i can develop iPhone application?
egyamado
MacOS X + Xcode. Learn Objective-C.
Marcin Gil
+1  A: 

Sadly, no, you cannot develop standard iPhone apps with C#/.NET.

However, I've seen screenshots of mono running on an iPhone, so, someday perhaps ... although, it probably won't be in a legal setup.

overslacked
+1  A: 

The iPhone does not support .NET. I don't believe there are any compatibility hacks or anything like that to run .NET apps on an iPhone, so you might have to bite the bullet and learn Objective-C.

I would do a google search for "iPhone development tutorials." There will probably be a bit of a learning curve.

Andy White
So, what IDE and language i can use on Windows Vista to develop iPhone app???
egyamado
Unfortunately, there isn't a great iPhone IDE on windows. There are supposedly Eclipse/Aptana plugins for iPhone dev, but I'm not sure. You might be best off looking for a cheap Mac to do iPhone dev.
Andy White
+2  A: 

This similar question asks if iPhone development is possible on Windows.

The answer appears to be: only for Jailbroken iPhones.

Dave Webb
+17  A: 

In a word, no. There is Mono support for the iPhone, but it's currently limited. They have spoken in the past about the possibility of writing a Silverlight app, with a series of "iPhone style" controls that could be statically linked as an iPhone app, but that's some way off.

If it's games you're interested in, and you have deep pockets, then UNITY is a Mono based game development platform that supports the iPhone (and runs on Windows)

Failing that, bite the bullet and get a cheap Mac from EBay. Officially only Intel Macs are supported for the SDK, but you can get it to install on PPC ones and I've yet to have a problem with that (I'm running it on a G5 PowerMac at the moment)

Steven Robbins
+2  A: 

It is possible to develop for the iPhone in C# using Unity. It performs ahead of time compilation as described here. However, Unity seems more aimed at developing games and the iPhone SDK currently requires Mac OSX.

Paul Dixon
+2  A: 

No, you cannot.

The .dmg extension stands for "disk image" and is used for installation files in Mac OS X. Windows Vista won't understand the format and hence you cannot open it.

Also, you won't get the libraries/SDK needed for developing iPhone apps in a .NET framework. You will have to download the latest version of iPhone SDK which comes with an iPhone emulator for testing on the development machine. The main framework used for iPhone development is the UIKit.

The best place to start learning about iPhone development is here.

euphoria83
+5  A: 

MonoTouch. You still need a mac and a minimum of $400 (as of this writing)

You can try the eval version which doesn't require you to pay and allows you program using the simulator. If you want to test your app on the hardware then you need to pocket the money.

Jonas Stawski
Be interesting to see how this plays out: http://techcrunch.com/2010/04/08/adobe-flash-apple-sdk/
TrueWill
According to Miguel de Icaza, this doesn't affect MonoTouch. There have been plenty of apps approved in the iPhone SDK since the new agreement
Jonas Stawski
A: 

or you could just run mac os on your pc http://oreilly.com/windows/archive/PearPC.html check it out

wayne
+1  A: 

yes. monotouch works fine

Dan
+1  A: 

MonoTouch runs on Mac.. For windows you can look at DragonFireSDK. Currently for game development, it allows developing iPhone applications in Visual Studio 2010 using C++ .Net.

http://www.dragonfiresdk.com

Daniel Bardi