如何设置Eclipse来开发iPhone开发(而不是Xcode)? [英] How do you setup Eclipse to work on iPhone development (instead of Xcode)?

查看:234
本文介绍了如何设置Eclipse来开发iPhone开发(而不是Xcode)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管我在开发iPhone时越来越熟悉Xcode,但有时候我希望我有一个更好的IDE,像Eclipse一样。



所以我想知道有没有人知道如何将iPhone项目迁移到Eclipse,而且值得吗?

解决方案

XCode使用标准的Unix工具进行大量工作。 iPhone应用程序是使用GCC 4.0编译的,它使用gdb进行调试,因此应该可以将Eclipse设置为至少编译应用程序。



如果您查看项目信息窗格的构建部分(选择该项目,请在XCode中按信息按钮,从顶部选择生成选项卡),您可以看到许多选项。



我不知道将文件复制到模拟器并附加调试器进行测试运行所需要的,可能不值得跳过所有的环,苹果可能需要一个XCode生成的构建来接受应用程序进入App Store。



可能是这样的情况,对于常规的代码编辑,你可以在Eclipse中工作得很好,然后切换到XCode进行交互式调试。



大多数现有的Eclipse插件似乎面向开发者iPhone感知的Web应用程序,所以我不知道你是否会得到任何帮助。 p>

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?

解决方案

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.

这篇关于如何设置Eclipse来开发iPhone开发(而不是Xcode)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆