Xcode 4.0.2 添加 Three20 的方法
2011年12月25日
http://www.99css.com/archives/845
Xcode 4.0.2 添加 Three20 的方法
[b]方法1[/b]
A Visual Guide to Manually Adding Three20 to your Xcode 4 Project
不过我到第5步的时候总是crash,尝试了重装Xcode,清Caches文件夹,删除com.Apple.dt.Xcode.plist文件均不成功,放弃
[b]方法2[/b]
下载并安装git http://code.google.com/p/git-osx-installer/,双击安装即可获取three20。打开终端,输入git clone git://github.com/facebook/three20.git
回车后等待100%完成
新建项目,比如 code/Three20Demo/添加three20。直接运行> python three20/src/scripts/ttmodule.py -p code/Three20Demo/Three20Demo.xcodeproj Three20
会提示无权限,需按以下步骤:
进入ttmodule.py所在目录cd three20/src/scripts/将其标为可执行chmod +x ttmodule.py退回根目录cd ~/执行以下命令即可> python three20/src/scripts/ttmodule.py -p code/Three20Demo/Three20Demo.xcodeproj Three20http://three20.info/article/2011-03-10-Xcode4-Support
python three20/src/scripts/ttmodule.py -p code/Three20Demo/Three20Demo.xcodeproj Three20 --xcode-version=4
2011年12月25日
http://www.99css.com/archives/845
Xcode 4.0.2 添加 Three20 的方法
[b]方法1[/b]
A Visual Guide to Manually Adding Three20 to your Xcode 4 Project
不过我到第5步的时候总是crash,尝试了重装Xcode,清Caches文件夹,删除com.Apple.dt.Xcode.plist文件均不成功,放弃
[b]方法2[/b]
下载并安装git http://code.google.com/p/git-osx-installer/,双击安装即可获取three20。打开终端,输入git clone git://github.com/facebook/three20.git
回车后等待100%完成
新建项目,比如 code/Three20Demo/添加three20。直接运行> python three20/src/scripts/ttmodule.py -p code/Three20Demo/Three20Demo.xcodeproj Three20
会提示无权限,需按以下步骤:
进入ttmodule.py所在目录cd three20/src/scripts/将其标为可执行chmod +x ttmodule.py退回根目录cd ~/执行以下命令即可> python three20/src/scripts/ttmodule.py -p code/Three20Demo/Three20Demo.xcodeproj Three20http://three20.info/article/2011-03-10-Xcode4-Support
python three20/src/scripts/ttmodule.py -p code/Three20Demo/Three20Demo.xcodeproj Three20 --xcode-version=4
本文提供了一种在Xcode4.0.2中手动添加Three20的方法,并详细解释了每一步的操作,包括下载并安装git、使用git clone获取three20库、新建项目、添加three20模块等关键步骤,以及解决运行过程中出现的权限问题。
3292

被折叠的 条评论
为什么被折叠?



