制作并安装一个包含Tweak和app的deb安装包。

1.新建一个iosopendev插件中的logos tweak工程,编写代码,编写完毕后点击Product- >Build For->Profiling。

2.在Finder中打开项目目录中的Package,将Package目录下的DEBIAN和Library复制到你将要打包的自定义文件夹中,此处我举例为TestDeb文件夹。

3.在TestDeb文件夹中新建Application目录

4.打开你的Xcode项目工程,编译代码,Finder中打开Products。复制文件夹中的*.app文件到TestDeb/Application目录下。

5.使用任何工具将TestDeb复制到iPhone中(ios系统的设备皆可)。

6.cd到TestDeb文件夹目录输入如下命令.

  1.chmod -R 777 TestDeb

  2.chmod -R 755 TestDeb/DEBIAN

  3.dpkg -b TestDeb

  4.dpkg -i TestDeb.deb

7.Respring或者重启设备,安装完毕。

posted on 2012-11-14 22:09  benjaminetw  阅读(804)  评论(0)    收藏  举报

导航