https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot
http://blog.csdn.net/bluesky_03/article/details/41911613
从theos到iosopendev。
iosopendev可以使用xcode来完成插件开发。--------------begin 多余的theos{ 安装iosopendev,不需要安装theos,下面的做法不是必需的:【 // 获取theos,在这里并不是必须的export THEOS=/opt/theossudo git clone git://github.com/DHowett/theos.git $THEOS# make ldid:cd $THEOS/binsudo git clone git://git.saurik.com/ldid.gitcd ldidsudo git submodule update --initsudo ./make.sh】}--------------end 多余的theos我遇到的情况:下载最新版本iosopendev1.6-2并安装,但遇到安装错误,/var/log/system.log里面记录着“安装器遇到了一个错误,导致安装失败。请联系软件制造商以获得帮助。”。参照:https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot,未能解决。虽然安装失败,但是在/opt下面还是创建了三个目录:iosopendeviosopendevsetupiosopendevuninstall在iosopendevsetup/bin里面已经有一个shell脚本:iod-setup。安装的过程就是执行iod-setup。查看资料,直接运行:sudo ./iod-setup base发现总是在下载某个东西时失败,sublime iod-setup来定位,发现有三个downloadGithubTarball的地方,直接注释掉,然后手动去下载这三个东西,并拷贝到iosopendev目录。手动下载:https://github.com/kokoabim/iOSOpenDevhttps://github.com/kokoabim/iOSOpenDev-Xcode-Templateshttps://github.com/kokoabim/iOSOpenDev-Framework-Header-Files拷贝:sudo cp -r iosopendev-master/* /opt/iosopendev/(iosopendev里,sudo mkdir templates)sudo cp -r iosopendev-xcode-templates-master/* /opt/iosopendev/templates(iosopendev里,sudo mkdir frameworks)sudo cp -r iosopendev-framework-header-files-master/* /opt/iosopendev/frameworks再次安装:sudo ./iod-setup base指定最新xcode sdk:sudo ./iod-setup sdk -sdk iphoneos成功,表现为:1.~/library/developer/xcode 里面会多出Templates/iosopendev2. sublime ~/.bash_profile会看到:export iOSOpenDevPath=/opt/iOSOpenDevexport iOSOpenDevDevice=export PATH=/opt/iOSOpenDev/bin:$PATH3.启动xcode,新建工程,多出一个“iOSOpenDev”的模板。