cocoapods-vbbuildsource 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +114 -0
- data/README.md +32 -4
- data/image/filepath.png +0 -0
- data/image/image.gif +0 -0
- data/lib/cocoapods-vbbuildsource/command/vbbuildsource.rb +2 -0
- data/lib/cocoapods-vbbuildsource/gem_version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cb0a2843d6354a15edb4c2b4a7521163938e58dc85d0258b34f2c6d1dce529e
|
|
4
|
+
data.tar.gz: 1fd68295337dc3ad276282eaa5a2cb100fcf3d632995609c99af687fc7631eed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4840af4daa453010e6f8cd635aed6f1d3967455cf7946ea225b4b50e243edd77ba686167780b4cc77b186a96fdc57ac370f06fc8481ee3b1cd1aa7d9d1674493
|
|
7
|
+
data.tar.gz: 15427260291361cba7a0c4f222f72131b4f115ae55ffc33b9ad704311252cebd10a5436b8c076ba2b1d1d02b3f29ee68f4d2c828df6abfb2c65b52b99fe9f351
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
cocoapods-vbbuildsource (0.0.2)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
CFPropertyList (3.0.3)
|
|
10
|
+
activesupport (5.2.6)
|
|
11
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
12
|
+
i18n (>= 0.7, < 2)
|
|
13
|
+
minitest (~> 5.1)
|
|
14
|
+
tzinfo (~> 1.1)
|
|
15
|
+
addressable (2.8.0)
|
|
16
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
17
|
+
algoliasearch (1.27.5)
|
|
18
|
+
httpclient (~> 2.8, >= 2.8.3)
|
|
19
|
+
json (>= 1.5.1)
|
|
20
|
+
atomos (0.1.3)
|
|
21
|
+
bacon (1.2.0)
|
|
22
|
+
claide (1.0.3)
|
|
23
|
+
cocoapods (1.10.0)
|
|
24
|
+
addressable (~> 2.6)
|
|
25
|
+
claide (>= 1.0.2, < 2.0)
|
|
26
|
+
cocoapods-core (= 1.10.0)
|
|
27
|
+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
|
28
|
+
cocoapods-downloader (>= 1.4.0, < 2.0)
|
|
29
|
+
cocoapods-plugins (>= 1.0.0, < 2.0)
|
|
30
|
+
cocoapods-search (>= 1.0.0, < 2.0)
|
|
31
|
+
cocoapods-trunk (>= 1.4.0, < 2.0)
|
|
32
|
+
cocoapods-try (>= 1.1.0, < 2.0)
|
|
33
|
+
colored2 (~> 3.1)
|
|
34
|
+
escape (~> 0.0.4)
|
|
35
|
+
fourflusher (>= 2.3.0, < 3.0)
|
|
36
|
+
gh_inspector (~> 1.0)
|
|
37
|
+
molinillo (~> 0.6.6)
|
|
38
|
+
nap (~> 1.0)
|
|
39
|
+
ruby-macho (~> 1.4)
|
|
40
|
+
xcodeproj (>= 1.19.0, < 2.0)
|
|
41
|
+
cocoapods-core (1.10.0)
|
|
42
|
+
activesupport (> 5.0, < 6)
|
|
43
|
+
addressable (~> 2.6)
|
|
44
|
+
algoliasearch (~> 1.0)
|
|
45
|
+
concurrent-ruby (~> 1.1)
|
|
46
|
+
fuzzy_match (~> 2.0.4)
|
|
47
|
+
nap (~> 1.0)
|
|
48
|
+
netrc (~> 0.11)
|
|
49
|
+
public_suffix
|
|
50
|
+
typhoeus (~> 1.0)
|
|
51
|
+
cocoapods-deintegrate (1.0.5)
|
|
52
|
+
cocoapods-downloader (1.4.0)
|
|
53
|
+
cocoapods-plugins (1.0.0)
|
|
54
|
+
nap
|
|
55
|
+
cocoapods-search (1.0.1)
|
|
56
|
+
cocoapods-trunk (1.5.0)
|
|
57
|
+
nap (>= 0.8, < 2.0)
|
|
58
|
+
netrc (~> 0.11)
|
|
59
|
+
cocoapods-try (1.2.0)
|
|
60
|
+
colored2 (3.1.2)
|
|
61
|
+
concurrent-ruby (1.1.9)
|
|
62
|
+
escape (0.0.4)
|
|
63
|
+
ethon (0.14.0)
|
|
64
|
+
ffi (>= 1.15.0)
|
|
65
|
+
ffi (1.15.3)
|
|
66
|
+
fourflusher (2.3.1)
|
|
67
|
+
fuzzy_match (2.0.4)
|
|
68
|
+
gh_inspector (1.1.3)
|
|
69
|
+
httpclient (2.8.3)
|
|
70
|
+
i18n (1.8.10)
|
|
71
|
+
concurrent-ruby (~> 1.0)
|
|
72
|
+
json (2.5.1)
|
|
73
|
+
minitest (5.14.4)
|
|
74
|
+
mocha (1.13.0)
|
|
75
|
+
mocha-on-bacon (0.2.3)
|
|
76
|
+
mocha (>= 0.13.0)
|
|
77
|
+
molinillo (0.6.6)
|
|
78
|
+
nanaimo (0.3.0)
|
|
79
|
+
nap (1.1.0)
|
|
80
|
+
netrc (0.11.0)
|
|
81
|
+
prettybacon (0.0.2)
|
|
82
|
+
bacon (~> 1.2)
|
|
83
|
+
public_suffix (4.0.6)
|
|
84
|
+
rake (13.0.6)
|
|
85
|
+
rexml (3.2.5)
|
|
86
|
+
ruby-macho (1.4.0)
|
|
87
|
+
thread_safe (0.3.6)
|
|
88
|
+
typhoeus (1.4.0)
|
|
89
|
+
ethon (>= 0.9.0)
|
|
90
|
+
tzinfo (1.2.9)
|
|
91
|
+
thread_safe (~> 0.1)
|
|
92
|
+
xcodeproj (1.21.0)
|
|
93
|
+
CFPropertyList (>= 2.3.3, < 4.0)
|
|
94
|
+
atomos (~> 0.1.3)
|
|
95
|
+
claide (>= 1.0.2, < 2.0)
|
|
96
|
+
colored2 (~> 3.1)
|
|
97
|
+
nanaimo (~> 0.3.0)
|
|
98
|
+
rexml (~> 3.2.4)
|
|
99
|
+
|
|
100
|
+
PLATFORMS
|
|
101
|
+
ruby
|
|
102
|
+
|
|
103
|
+
DEPENDENCIES
|
|
104
|
+
bacon
|
|
105
|
+
bundler (~> 1.3)
|
|
106
|
+
cocoapods (= 1.10.0)
|
|
107
|
+
cocoapods-vbbuildsource!
|
|
108
|
+
mocha
|
|
109
|
+
mocha-on-bacon
|
|
110
|
+
prettybacon
|
|
111
|
+
rake
|
|
112
|
+
|
|
113
|
+
BUNDLED WITH
|
|
114
|
+
1.17.3
|
data/README.md
CHANGED
|
@@ -1,11 +1,39 @@
|
|
|
1
|
-
#
|
|
1
|
+
#
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
本插件用于腾讯视频iOS端cocoapods二进制库一键切换为源代码调试,无需重新编译
|
|
4
5
|
|
|
5
6
|
## Installation
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
```
|
|
9
|
+
$ gem install cocoapods-vbbuildsource
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
如果报ruby源 timeout 错误请自行切换ruby的源
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
gem source --remove https://rubygems.org
|
|
16
|
+
```
|
|
17
|
+
先删除当前的ruby 源地址
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
gem source -a https://gems.ruby-china.com
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
切换源到ruby中国
|
|
8
24
|
|
|
9
25
|
## Usage
|
|
26
|
+
调试到二进制库的时候打一个符号断点,让断点停在该库汇编代码里面。之后打开命令行运行:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
$ pod vbbuildsource POD_NAME
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
运行完之后刷新一下xcode(切换一下页面或者点一下单步调试)源代码就会自动展示。
|
|
33
|
+
|
|
34
|
+
效果如下:
|
|
35
|
+

|
|
36
|
+
|
|
37
|
+
## 删除
|
|
38
|
+
由于现在还没有做删除功能。调试完可以去控制台打印的路径  下将源代码删除
|
|
10
39
|
|
|
11
|
-
$ pod spec vbbuildsource POD_NAME
|
data/image/filepath.png
ADDED
|
Binary file
|
data/image/image.gif
ADDED
|
Binary file
|
|
@@ -147,6 +147,8 @@ module Pod
|
|
|
147
147
|
end
|
|
148
148
|
def find_spec_source_file_path specification
|
|
149
149
|
source_path = specification.specification.attributes_hash['source_files']
|
|
150
|
+
source_path = specification.specification.subspecs.first.attributes_hash['source_files']
|
|
151
|
+
help! "该库 #{@module_name} 的spec文件没填 source_file,暂不支持" unless source_path
|
|
150
152
|
dir_list = source_path.split('/')
|
|
151
153
|
help! "源码路径错误 #{source_path}" unless dir_list.count >= 2
|
|
152
154
|
return "/#{dir_list.first}/#{dir_list[1]}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-vbbuildsource
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- faliu
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -47,10 +47,13 @@ extra_rdoc_files: []
|
|
|
47
47
|
files:
|
|
48
48
|
- ".gitignore"
|
|
49
49
|
- Gemfile
|
|
50
|
+
- Gemfile.lock
|
|
50
51
|
- LICENSE.txt
|
|
51
52
|
- README.md
|
|
52
53
|
- Rakefile
|
|
53
54
|
- cocoapods-vbbuildsource.gemspec
|
|
55
|
+
- image/filepath.png
|
|
56
|
+
- image/image.gif
|
|
54
57
|
- lib/cocoapods-vbbuildsource.rb
|
|
55
58
|
- lib/cocoapods-vbbuildsource/command.rb
|
|
56
59
|
- lib/cocoapods-vbbuildsource/command/vbbuildsource.rb
|