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/,没有自己写

  • 相关阅读:
    HDU 1017—A Mathematical Curiosity
    N !
    L
    J
    Danganronpa
    A water problem
    hdu 5461 Largest Point
    India and China Origins hdu 5652 (BFS+二分)
    D (多校训练三) poj1919 (二分)
    Discovering Gold lightoj 1030 (dp+期望)
  • 原文地址:https://www.cnblogs.com/doudouyoutang/p/7160156.html
Copyright © 2011-2022 走看看