cocoapods-flutter-dt 0.2.3 → 0.2.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d6f48c8b2c30eed6c96640d6fca157ffcd7f3d296a4033d2c28dbc3499cd6b4
|
|
4
|
+
data.tar.gz: 3fee21a26991ace46036335b93f4eb07866b55d241086c5923b1b5f96411a619
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6465dd51a49d8d1f64efc656b88635fb235b2f451aadc5b7584ec6c08a42e4b112c902896ff832e7dba21ac821dd2c07f029c09079e7e6e690bdecea41033f7
|
|
7
|
+
data.tar.gz: 05be1f94f4a991114fb87436b9724f1c318c0f046ce57dad8c5e2be0a33f8ddfdce849c4bdf3e4d1962df309d4cab62152cd67cd5d5661e70e787e2df93ffba8
|
|
@@ -62,6 +62,8 @@ class Archiver
|
|
|
62
62
|
@plugins = fetch_plugins
|
|
63
63
|
|
|
64
64
|
if @build_modes.include?('debug')
|
|
65
|
+
# Debug瘦身
|
|
66
|
+
thin_arm64 "#{@product_dir}Debug/App.framework/App"
|
|
65
67
|
debug
|
|
66
68
|
end
|
|
67
69
|
|
|
@@ -107,6 +109,22 @@ class Archiver
|
|
|
107
109
|
|
|
108
110
|
private
|
|
109
111
|
|
|
112
|
+
def thin_arm64(path)
|
|
113
|
+
# thin arm64
|
|
114
|
+
thin_commands = [
|
|
115
|
+
'lipo',
|
|
116
|
+
path,
|
|
117
|
+
'-thin',
|
|
118
|
+
"arm64",
|
|
119
|
+
'-output',
|
|
120
|
+
path,
|
|
121
|
+
]
|
|
122
|
+
|
|
123
|
+
if CommandRunner.run(*thin_commands) == false
|
|
124
|
+
raise "Error running #{commands.join ' '} "
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
110
128
|
def release
|
|
111
129
|
app_file, sdk_file = zip_files @plugins, 'Release'
|
|
112
130
|
upload_files app_file, sdk_file, 'Release'
|
|
@@ -222,6 +240,7 @@ class Archiver
|
|
|
222
240
|
# FileUtils.remove_dir product_dir, true
|
|
223
241
|
raise "Error running #{commands.join ' '} "
|
|
224
242
|
end
|
|
243
|
+
|
|
225
244
|
end
|
|
226
245
|
|
|
227
246
|
def build_app(mode)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-flutter-dt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- "\bDreamtracer"
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parallel
|