Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you setup Eclipse to work on iPhone development (instead of Xcode)?

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?

like image 534
Robert Gould Avatar asked Oct 16 '08 08:10

Robert Gould


2 Answers

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.

like image 98
Rob Drimmie Avatar answered Sep 28 '22 08:09

Rob Drimmie


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.

like image 43
user28515 Avatar answered Sep 28 '22 09:09

user28515