zoukankan      html  css  js  c++  java
  • 微信iOS消息拦截插件教程-Tweak HelloWorld

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

    标签(空格分隔): 越狱开发教程


    1、环境准备

    • 准备一台越狱的手机,具体参照上一篇教程
    • 搭建Theos越狱开发环境

    2、开发过程

    • 新建一个第三课的目录,新建一个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/,没有自己写

  • 相关阅读:
    C语言调用汇编函数 实现超过32位数的加法
    【Qt学习笔记】13_富文本及打印页面
    Java初级回顾
    Java中FileInputStream和FileOutputStream类实现文件夹及文件的复制粘贴
    Java中File类如何扫描磁盘所有文件包括子目录及子目录文件
    学习笔记之循环链表
    练习 hdu 5523 Game
    学习笔记之集合ArrayList(1)和迭代器
    学习笔记之工厂方法模式
    学习笔记之基本数据类型-包装类-String之间的转换
  • 原文地址:https://www.cnblogs.com/doudouyoutang/p/7160156.html
Copyright © 2011-2022 走看看