gonative-cli 2.1.1 → 2.1.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 +1 -1
- data/lib/gonative/plugins/ios/release.rb +14 -2
- data/lib/gonative/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 073e0214b6ad0ada956f93e770130ee06608c61793a59c54a11c5722b5ca71be
|
|
4
|
+
data.tar.gz: 6c38a76729e16b26c75d27313bf447914e1ddc4e0f026c447d85b1baa2e1e501
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2815121dab597534abcd5ea731307debd50191f14e331a5a24125453e590d6c9dbd933e3eb5699b0be3ba1eabf173de7d020fe606c2f6a53a81bc66ecf4b8e85
|
|
7
|
+
data.tar.gz: f6abe9f73f0d6cbe32c21f0788e9b6efe7625f97c77f39a29ac1fd3d7619103666d20d1e6339a74e16bb7aac0249d8dc44f7747f88d4f39cfb7792f26896327f
|
data/Gemfile.lock
CHANGED
|
@@ -71,6 +71,16 @@ module GoNative
|
|
|
71
71
|
Utils::UI.info "Signing frameworks with identity: #{identity}"
|
|
72
72
|
|
|
73
73
|
Dir.glob(File.join(frameworks_dir, '*.xcframework')).each do |xcframework_path|
|
|
74
|
+
name = File.basename(xcframework_path, '.xcframework')
|
|
75
|
+
|
|
76
|
+
unless name.end_with?('Plugin')
|
|
77
|
+
Utils::UI.info "Skipping #{File.basename(xcframework_path)} (dependency)"
|
|
78
|
+
# Strip any stale signature: Xcode hard-fails on an invalid seal,
|
|
79
|
+
# but accepts unsigned binary targets.
|
|
80
|
+
system "codesign --remove-signature #{Shellwords.escape(xcframework_path)} 2>/dev/null"
|
|
81
|
+
next
|
|
82
|
+
end
|
|
83
|
+
|
|
74
84
|
Dir.glob(File.join(xcframework_path, '**', '*.framework')).each do |framework_path|
|
|
75
85
|
Utils::UI.info "Signing #{File.basename(framework_path)}"
|
|
76
86
|
sign_command = [
|
|
@@ -149,9 +159,11 @@ module GoNative
|
|
|
149
159
|
|
|
150
160
|
FileUtils.rm_f(temp_zip)
|
|
151
161
|
|
|
152
|
-
# Create zip from Frameworks/ directory
|
|
162
|
+
# Create zip from Frameworks/ directory.
|
|
163
|
+
# -y stores symlinks as symlinks: macOS/Catalyst framework slices use
|
|
164
|
+
# Versions/A symlink layouts, and materializing them breaks codesign seals.
|
|
153
165
|
FileUtils.cd(frameworks_dir) do
|
|
154
|
-
system "zip -
|
|
166
|
+
system "zip -Xqry #{Shellwords.escape(temp_zip)} #{Shellwords.escape("#{name}.xcframework")}" or
|
|
155
167
|
raise Error, "Failed to zip #{name}.xcframework"
|
|
156
168
|
end
|
|
157
169
|
|
data/lib/gonative/version.rb
CHANGED