您的位置:首页 > 移动开发 > IOS开发

iOS应用开发环境准备

2013-05-06 15:54 267 查看
方法一:黑苹果

黑苹果--就是指不是苹果电脑(普通PC),装了苹果的MacOS。这就是黑苹果。

PC配置要求:

CPU:Intel LGA775系列CPU安装成功的机会较大

主板芯片组:Intel 9系列 3系列和4系列的成功几率比较大

安装教程:http://macos.it168.com/thread-33124-1-1.html

关于黑苹果:http://baike.baidu.com/view/2173094.htm?fr=ala0_1

优点:

系统运行速度快,模拟最真实

缺点:

安装过程复杂,成功率低,对硬件要求比较高。

方法二:利用vmware搭建iphone开发环境

硬件环境 Intel Core2 E8400@3.00GHz

内存:2G

软件环境:winxp sp3,vmware workstation 7.0

参考地址:

http://mabei.iteye.com/blog/607011

http://yafei.iteye.com/blog/787794

优点:安装相对简单,对系统配置要求较低

缺点:运行速度比较慢,驱动兼容性不好

方法三:WindowsXP + Cygwin

cygwin是一个在windows平台上运行的unix模拟环境

iPhone ToolChain:在Linux或osx的系统下拥有编译及开发iPhone原生程式的环境

优点:不需要安装iOS系统的情况下就可以编译iOS应用,安装配置简单

缺点:无法使用Xcode,只能通过记事本编辑,只能通过真机调试

参考资料:

http://bbs.weiphone.com/read-htm-tid-52808.html

http://blog.csdn.net/fengkuanghun/archive/2009/03/06/3963880.aspx

方法四:DragonFireSDK

DragonFireSDK Windows下的iPhone开发环境

优点:无需iOS环境

缺点:目前版本尚不完善

参考资料:

http://bbs.weiphone.com/read-htm-tid-680579.html

http://sdwangyang.blog.163.com/blog/static/72797899201032203748458/

方法五:基于JS+CSS

基于WebKit浏览器的应用,使用JS和CSS开发符合iPhone风格的应用。

优点:和平台无关,系统搭建简单,开发周期短,无需iPhone真机测试

缺点:不能使用iPhone原生控件的特性,执行效率和表现美观较差

参考资料:

http://www.ibm.com/developerworks/cn/opensource/os-eclipse-iphone/

http://code.google.com/p/jqtouch/

以上转自:http://owennet.iteye.com/blog/831826

由于环境有限,最后决定用方法五进行开发,在MyEclipse上安装apatana的方法如下:

MyEclipse8.5安装aptana插件说明:

1.在myeclipse的安装目录下,有个common文件夹,建一个myplugIns,此目录下建aptana_update_024747目录

2.把features和plugins的两个文件夹copy到aptana_update_024747目录中。

3.打开myeclipse8.5下的dropins的目录新建一个aptana_update_024747.link,

4.把path= D:\\Program Files\\Genuitec\\Common\\myplugIns\\aptana_update_024747(此为第2条的目录)设置在link文件中。

5,重新启动Myeclipse8.5,查看是否OK

怎样让MyEclipse提示Jquery及相关插件的快捷提示:

myeclipse 8.5 安装aptana插件后,启动myeclipse 8.5 会首先出现My studio的欢迎界面,点击图标Plugins,点击ajax,就会在下面看到JQquery Support,然后点击get it,安装完成以后进行如下操作:

window-->Preferences-->Aptana-->JavaScript-->Code Assist 然后勾选上相关组件即可

参考资料:http://www.kuqin.com/developtool/20090318/40850.html

http://bt.neu6.edu.cn/viewthread.php?tid=1049390&highlight=Aptana%2B

以上安装方法,经过试验未能成功,主要是链接已经失效。下面给出官方的链接,经试验能够下载安装:


Installing via Eclipse

Please copy the following Update Site URL to your clipboard and then follow the steps listed below to add this URL to your Available Software Sites list. Attempting to access this URL using your web browser
will return an Access Denied error.

http://download.aptana.com/tools/studio/plugin/install/studio

From the Help menu, select Install New Software... to open the Install New Software dialog.
Paste the URL for the update site into the Work With text box, and hit the Enter (or Return)
key.
In the populated table below, check the box next to the name of the plug-in, and then click the Next button.
Click the Next button to go to the license page.
Choose the option to accept the terms of the license agreement, and click the Finish button.
You may need to restart Eclipse to continue.

参考资料:http://www.aptana.org/downloads/start
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: