Git Product home page Git Product logo

Comments (4)

avcatshy avatar avcatshy commented on July 17, 2024 2

经过尝试应该是与MonkeyDev适配的不好,手动注入编好的framework是可以工作的。

p.s :hook objc_msgSend 属实是精确,但是耗时也不可小觑,在之上再封装一层就更难顶了。 测试小程序没问题,大点儿的程序就直接因为启动耗时太久被watchDog干掉了。。。

from appletrace.

everettjf avatar everettjf commented on July 17, 2024

log ?

from appletrace.

avcatshy avatar avcatshy commented on July 17, 2024
~/Desktop/toAppleTrace  cat Podfile
source 'https://github.com/AloneMonkey/MonkeyDevSpecs.git'
use_frameworks!
target 'toAppleTrace' do
     pod 'AppleTrace'
end


~/Desktop/toAppleTrace  pod install
Analyzing dependencies
Cloning spec repo `alonemonkey` from `https://github.com/AloneMonkey/MonkeyDevSpecs.git`
Downloading dependencies
Installing AppleTrace (1.0.1)

[!] Error installing AppleTrace
[!] /usr/local/bin/git clone https://github.com/everettjf/AppleTrace.git /var/folders/gw/b5h1dcm51dg1hmxrnb6s9w340000gn/T/d20210202-52166-1bskjl --template= --single-branch --depth 1 --branch 1.0.1

Cloning into '/var/folders/gw/b5h1dcm51dg1hmxrnb6s9w340000gn/T/d20210202-52166-1bskjl'...
warning: Could not find remote branch 1.0.1 to clone.
fatal: Remote branch 1.0.1 not found in upstream origin

MonkeyDevSpecs still link to your repo, but only v1.0 tag here.

将tag 号改了以后,可以成功安装:

 ~/Desktop/toAppleTrace  cat ~/.cocoapods/repos/alonemonkey/AppleTrace/1.0.1/AppleTrace.podspec
Pod::Spec.new do |spec|
  spec.name             = "AppleTrace"
  spec.version          = "1.0.1"
  spec.summary          = "AppleTrace for MonkeyDev"
  spec.description      = <<-DESC
                          - AppleTrace for MonkeyDev
                        DESC

  spec.homepage         = "https://github.com/everettjf/AppleTrace"

  spec.license          = { :type => "BSD", :file => "LICENSE" }
  spec.author           = { "everettjf" => "[email protected]" }
  spec.social_media_url = "http://weibo.com/everettjf"
  spec.platform         = :ios, "8.0"
#  spec.source           = { :git => "https://github.com/everettjf/AppleTrace.git", :tag => spec.version.to_s }
  spec.source           = { :git => "https://github.com/everettjf/AppleTrace.git", :tag => "v1.0" }

但是在结合monkeydev使用时,没有生成 ‘appletracedata目录’,

-iPad:~ root# find  /private/var/mobile/Containers/Data/Application/A21E37FA-5E2B-4FB5-84B0-03F37AD094D7 -name "WeChat"
/private/var/mobile/Containers/Data/Application/A21E37FA-5E2B-4FB5-84B0-03F37AD094D7/Library/Caches/Matrix/CrashBlock/WeChat
-iPad:~ root# find  /private/var/mobile/Containers/Data/Application/A21E37FA-5E2B-4FB5-84B0-03F37AD094D7 -name "*appletracedata*"
-iPad:~ root#

是不能这么直接改tag还是哪里操作有问题?

from appletrace.

everettjf avatar everettjf commented on July 17, 2024

-iPad:~ root# find /private/var/mobile/Containers/Data/Application/A21E37FA-5E2B-4FB5-84B0-03F37AD094D7 -name "appletracedata"

不是app这个目录。需要找到沙盒目录。

from appletrace.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.