cocoapods-binary-flutter 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56711746f3dae006843c13fac105cee635f8a239260a4434480f82cc84c00a08
|
4
|
+
data.tar.gz: 190ad47229df9a14faaeb557e475728b2f8cfbff3fe28c8c196ade71a2be1c4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af6e879e3bdce903f9b142bc4406c166c2b7c6a85285fb8364cd9e0a8797a32a5dcd777cb24ea7ba8e2cd6c5a4ac4b01b2d655a21ad28e28e92f570ac108e153
|
7
|
+
data.tar.gz: 1750e1764f6adb294f2842de882ea2611f377b0f976da8fb0cd8e23154a442cacab4a3605fe8103bcb64a21894a1290de3e630f4a7cbba6fcb48ba58447ff5fa
|
@@ -71,6 +71,21 @@ module Pod
|
|
71
71
|
|
72
72
|
#安装
|
73
73
|
def install_all_lzflutter_pods(flutter_binary_path)
|
74
|
+
# defined_in_file is a Pathname to the Podfile set by CocoaPods.
|
75
|
+
pod_contents = File.read(defined_in_file)
|
76
|
+
if pod_contents.include? 'flutter_post_install'
|
77
|
+
puts <<~POSTINSTALL
|
78
|
+
DELETE `flutter_post_install(installer)` to your Podfile `post_install` block to build Flutter plugins:
|
79
|
+
|
80
|
+
post_install do |installer|
|
81
|
+
flutter_post_install(installer)
|
82
|
+
end
|
83
|
+
POSTINSTALL
|
84
|
+
raise 'DELETE `flutter_post_install(installer)` in Podfile `post_install` block
|
85
|
+
Flutter产物依赖不需要flutter_post_install(installer)
|
86
|
+
'
|
87
|
+
end
|
88
|
+
|
74
89
|
install_lzflutter_engine_pod(flutter_binary_path)
|
75
90
|
install_lzflutter_plugin_pods(flutter_binary_path)
|
76
91
|
install_lzflutter_application_pod(flutter_binary_path)
|
@@ -105,27 +120,6 @@ module Pod
|
|
105
120
|
pod 'App', :path => File.join(flutter_binary_path, 'flutter'), :inhibit_warnings => true
|
106
121
|
end
|
107
122
|
|
108
|
-
# Run the post-install script to set build settings on Flutter plugins.
|
109
|
-
#
|
110
|
-
# @example
|
111
|
-
# post_install do |installer|
|
112
|
-
# flutter_post_install(installer)
|
113
|
-
# end
|
114
|
-
# @param [Pod::Installer] installer Passed to the `post_install` block.
|
115
|
-
# @param [boolean] skip Do not change any build configurations. Set to suppress
|
116
|
-
# "Missing `flutter_post_install" exception.
|
117
|
-
def flutter_post_install(installer, skip: false)
|
118
|
-
return if skip
|
119
|
-
|
120
|
-
installer.pods_project.targets.each do |target|
|
121
|
-
target.build_configurations.each do |build_configuration|
|
122
|
-
# flutter_additional_ios_build_settings is in Flutter root podhelper.rb
|
123
|
-
# Annotation under invoke for cocoapods-binary-flutter use
|
124
|
-
# flutter_additional_ios_build_settings(target)
|
125
|
-
end
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
123
|
end
|
130
124
|
end
|
131
125
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-binary-flutter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Jacky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|