热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

微信iOS消息拦截插件教程-TweakHelloWorld

新建一个第三课的目录,新建一个tweak工程,具体记录如下:

新建一个第三课的目录,新建一个tweak工程,具体记录如下:

命令纪录如下

```

教程 $ls

第三课 第二课

教程 $cd 第三课

第三课 $ls

第三课 $/opt/theos/bin/nic.pl

NIC 2.0 - New Instance Creator

------------------------------

[1.] iphone/activator_event

[2.] iphone/application_modern

[3.] iphone/cydget

[4.] iphone/flipswitch_switch

[5.] iphone/framework

[6.] iphone/ios7_notification_center_widget

[7.] iphone/library

[8.] iphone/notification_center_widget

[9.] iphone/preference_bundle_modern

[10.] iphone/tool

[11.] iphone/tweak

[12.] iphone/xpc_service

Choose a Template (required): 11

Project Name (required): HelloWorldTweak

Package Name [com.yourcompany.helloworldtweak]: com.yourcompany.helloworldtweak

Author/Maintainer Name [vousaimer]: vousaimer

[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: com.apple.springboard

[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]:

Instantiating iphone/tweak in helloworldtweak/...

Done.

第三课 $ls

helloworldtweak

第三课 $cd helloworldtweak/

helloworldtweak $ls

HelloWorldTweak.plist Makefile Tweak.xm control

```

编辑Tweak.xm

编辑makefile制定手机的ip地址,此时电脑需要和手机在同一个局域网下面

输入编译指令 make package install ,中间需要输入两次手机ssh的密码,

3、执行结果

如果你觉的有帮助,请赞赏一点点(1元,2元,5元)

---

github地址https://github.com/liqiushui/WeChatTweak

注:Tweak.xm代码参考了http://www.hotobear.com/?p=44,没有自己写


推荐阅读
author-avatar
氵殳冼臉_885
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有