打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
iPhone开发平台Win版放出(中文安装教程)|iPhone App开发外包专区


教程中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

点击安装界面上的"下一步"
来到下图页面





到上面的步骤,User URL 这里填写:http://www.iphonegameover.com/cygwin 然后点击Add按钮,然后点击下一步

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


完成后把 上图 的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开发环境已经搭建完毕!

[ 
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
以samba讲解如何交叉编译开源库用于iphone平台(续)
编译speex(i386、armv6、armv7、armv7s)方法【转】
iphone 3.1.2开发环境搭建——linux平台 - 开客网
苹果Mac系统发展史
How to install Nginx, PHP, PHP-FPM and MySQL under Windows with Cygwin
Mac OS X 下Qt 安装完整手册
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服