Theos 修改配置

来源:互联网 发布:太阳和珊瑚 知乎 编辑:程序博客网 时间:2024/04/29 06:38


Theos是 Dustin L. Howett 开发的iPhone编译系统, 据说能跨平台

包括

项目模板系统New Instance Creator(NIC.pl), 可以建立一个能编译的空的项目

由GNU Make驱动的稳定的编译系统, 能够直接创建.deb包

让MobileSubstrate扩展开发更容易的  基于预处理的 指令库  Logos


准备

1. 基于Unix的操作系统(Mac OS X或者越狱后的iOS),  大部分Linux应该有可以
subversion或者git 版本控制工具
curl
perl

2. 官方SDK, 或者某些形式的工具链




安装thoes
export THEOS=~/Documents/theos
git clone git://github.com/DHowett/theos.git $THEOS
(据说修改版本的thoes更好 git clone git://github.com/rpetrich/theos.git $THEOS)
curl -s http://dl.dropbox.com/u/3157793/ldid > $THEOS/bin/ldid; chmod +x $THEOS/bin/ldid

安装头文件
cd $THEOS
./git-submodule-recur.sh init
会自动将 https://github.com/repetrich/iphoneheaders 克隆到 $THEOS/include

使用
$THEOS/bin/nic.pl

参考

http://uv.howett.net/ipf.html

https://github.com/DHowett/theos-logos-examples

记得在 工作目录里运行 git submodule init 和git submodule update, 确保 theos是最新的


转自:http://www.1000phone.net/thread-7870-1-1.html