views:

11269

answers:

5

Although I've been getting more and more familiar with Xcode while developing for the iPhone, there are times I just wished I had a better IDE, something like Eclipse.

So I was wondering does anyone know how to migrate iPhone projects to Eclipse, and if it's worth it?

+2  A: 

As far as I know you cant use Eclipse or any other IDE to develop for iPhone. Apple only supports XCode and this wont change in the future. So I think you have to get used to XCode.

+7  A: 

XCode largely uses standard Unix tools for a lot of its work. iPhone applications are compiled using GCC 4.0, it uses gdb for debugging, so it should be possible to set up Eclipse to at least compile applications.

If you look in the Build section of the Project Info pane (select the project, hit the Info button in XCode, choose the Build tab from the top) you can see many of the options.

I'm not sure what is required to copy a file to the simulator and attach a debugger to do a test run, it might not be worthwhile to jump through all the hoops and Apple may require an XCode generated build to accept an app into the App Store.

It may be the case that for regular code editing you can work reasonably well in Eclipse, then switch to XCode for interactive debugging.

Most of the existing Eclipse plugins seem to be oriented towards developer iPhone-aware web applications, so I'm not sure if you'll get any help there.

Rob Drimmie
Xcode has some serious flaws, but one big reason to stick with it is code-signing. I don't believe that another IDE has the capability to sign your apps for testing on an actual device, or to sign an app for deployment to the App Store.Code-signing may not matter for jailbroken devices, but if you intend to sell via the App Store, you'll need to make sure it happens.
joshbuhler
A: 

The Aptana plugin can be a good choice:

http://www.aptana.com/iphone

I never tested it, but I use Aptana for frontend development and it's a solid and nice IDE.

alexmeia
Aptana iPhone is for web applications development, not for native iPhone applications.
christian studer
+1  A: 

aptana is for iphone web development. Not native iphone apps. cheers

A: 

I have used eclipse as an editor and xcode for debugging, but It's a big lost of time !

I anyone find the way to develop IPhone apps 100% with eclipse, please helps !

Giovanni