iOS_iPhone开发平台Win版放出(中文安装教程)

首先准备下载几个软件 
cygwin: http://www.cygwin.com/setup.exe  
Xcode开发包:  http://rapidshare.com/files/66764258/MacOSX10.4u.sdk.rar 不要用迅雷等下载工具直接直接下载,要用浏览器打开,并输入验证码才能下载 
Iphone系统镜像: http://rapidshare.com/files/66747414/iphone_image.rar 不要用迅雷等下载工具直接直接下载,要用浏览器打开,并输入验证码才能下载 
上面两个RAR压缩包解压密码为: aksblog.co.nr  

例如下载都放在 C:\tmp\  
教程中cygwin默认安装在 C:\cygwin\  如果您更改为其他路径请自行改变 
都下载完成后开始下面的操作 
首先先安装默认的cygwin 环境,否则接下来的操作会失败 
---------------------------------------------------------------------------------------------------------------------------------------------------------------- 
1.双击setup.exe 
 
2.按照安装提示“下一步” 
3.选择从“互联网”安装: 
 
4.选择安装的路径,一般是C:\Cygwin,选择本地临时目录,用于存放下载的软件;选择您连接互联网的方式,一般选“直接连接”就可以了。 
5.选择下载源,您可以在下载列表里选择: http://www.cygwin.cn  或者,直接在URL里输入 http://www.cygwin.cn/pub/  
 
6.根据安装提示,选择需要安装的软件包,完成安装。 
---------------------------------------------------------------------------------------------------------------------------------- 




打开C:\tmp\setup.exe 
   
  1.jpg  (64.03 KB) 
2008-2-3 03:35 



点击安装界面上的"下一步" 
来到下图页面 
   
  2.jpg  (38.81 KB) 
2008-2-3 03:35 



   
  3.jpg  (78.93 KB) 
2008-2-3 03:35 



   
  4.jpg  (41.44 KB) 
2008-2-3 03:35 



   
  5.jpg  (61.83 KB) 
2008-2-3 03:35 



   
  6.jpg  (63.46 KB) 
2008-2-3 03:35 



到上面的步骤,User URL 这里填写: http://www.iphonegameover.com/cygwin  然后点击Add按钮,然后点击下一步 
   
  7.jpg  (61.91 KB) 
2008-2-3 03:35 



下面的操作全部直接按下一步即可,直到下载安装完毕。 

   
  8.jpg  (35.52 KB) 
2008-2-3 03:42 



完成后把 上图 的2个沟打上,方便运行cygwin 
(下载可能会比较慢,请耐心等待下载完毕) 

接下来打开下载的 MacOSX10.4u.sdk.rar  
把压缩包里面的 Archive.pax.gz  

解压到 C:\cygwin\home\Administrator\   目录下,没有此目录的话则手工建立该目录  
接下来打开下载的   iphone_image.rar  
把里面的 iphone image   解压到   C:\cygwin\usr\local\arm-apple-darwin\   目录下  
解压完后把iphone image 文件夹改名为   filesystem  

完成以上操作后,基本安装已经完成,接下来在开始菜单运行那里输入"C:\cygwin\Cygwin.bat"  

屏幕显示 
Checking if /Developer/SDKs/MacOSX10.4u.sdk exists... no! 
Do you wish to install the XCode 2.5 header files now? (y/n) 


按Y 继续 

然后屏幕显示 

Found 'Archive.pax.gz' in current directory. 
Extracting /home/Administrator/Archive.pax.gz... 

这里会很长时间停顿,大概1分钟左右 

然后屏幕显示 

Checking if /usr/local/arm-apple-darwin/include exists... checking for a BSD-com 
patible install... /usr/bin/install -c 
checking for /Developer/SDKs/MacOSX10.4u.sdk/usr/include/TargetConditionals.h... 
no 
configure: error: You must have a copy of the Mac OS X 10.4 Universal SDK. Pleas 
e see the wiki at  http://iphone-dev.googlecode.com/  for information on how to ob 
tain this. If you already have the SDK use a --with-macosx-sdk=path option to sp 
ecify the path. 
Error: Files don't appear to have been installed! 
Would you like to delete this script? (y/n): 

按 n 之后关闭cygwin 
打开 C:\cygwin\Developer\Developer 
把该目录下的SDKs 移动到C:\cygwin\Developer\ 目录下 
删除C:\cygwin\Developer\Developer 目录 

重新打开cygwin 

接下来会自动完成安装,此时屏幕应该显示如下内容 

Checking if /usr/local/arm-apple-darwin/filesystem exists... yes 
Checking if /Developer/SDKs/MacOSX10.4u.sdk exists... yes 
Checking if /usr/local/arm-apple-darwin/include exists... checking for a BSD-com 
patible install... /usr/bin/install -c 
checking for /Developer/SDKs/MacOSX10.4u.sdk/usr/include/TargetConditionals.h... 
yes 
configure: creating ./config.status 
config.status: creating install-headers.sh 
Making directory /usr/local/arm-apple-darwin/include 
Finding framework header directories... 
Finding base header directories... 
Installing header files... 
Making directory /usr/local/arm-apple-darwin/include/CoreGraphics 
Entering directory /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/App 
licationServices.framework/Frameworks/CoreGraphics.framework/Headers 
Installing CGAffineTransform.h 
Installing CGBase.h 
Installing CGBitmapContext.h 
Installing CGColor.h 
Installing CGColorSpace.h 
Installing CGContext.h 
Installing CGDataConsumer.h 
Installing CGDataProvider.h 
Installing CGDirectDisplay.h 
Installing CGDirectPalette.h 
Installing CGDisplayConfiguration.h 
Installing CGDisplayFade.h 
Installing CGError.h 
Installing CGEvent.h 
Installing CGEventSource.h 
Installing CGEventTypes.h 
Installing CGFont.h 
Installing CGFunction.h 
Installing CGGeometry.h 
Installing CGGLContext.h 
Installing CGImage.h 


此部分安装耗时比较久,大概10来分钟。 
耐心等待操作完成 

完成之后,屏幕显示 
Installing vmutils/_NSDWARFAttribute.h 
Installing vmutils/_NSSourceInfo.h 
All done! 
Your toolchain installation is now complete! 

你的iphone开发环境已经搭建完毕!

转载自:http://bbs.weiphone.com/read-htm-tid-413700-page-1.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值