nixenvironment 0.0.150 → 0.0.152
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: 91743fa812b4ff51a9a75da330b5cba6b2d31f2507faee651c50095092c84a44
|
|
4
|
+
data.tar.gz: 36f2cd59a913c2f9769fe05f745d093954dd63a5e7ea718ca40021e8d1dc3bb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cb36f5b77ce9d9c84c565313f8becb4380c8c3fc70cbee42f58d83b45e00b1d36ebddda23d9d9a08c65a0c9cacc02016f0bf55cb56e920233a75eb82dd68dd1
|
|
7
|
+
data.tar.gz: 1f69cd36c31ed798ec4b67e40ed66487facbb01a7246b26ff86002e243f5a183fc13d58c31b8e660dee4644259b6ca279d3fc642021ab58f4e82abfd0c10977e
|
|
@@ -278,6 +278,16 @@ module Nixenvironment
|
|
|
278
278
|
# Copy Swift Support files if needed
|
|
279
279
|
if Dir.exist?(frameworks_path)
|
|
280
280
|
Dir.entries(frameworks_path).reject{ |e| File.directory?(e) || File.extname(e) == '.framework' }.each do |fw|
|
|
281
|
+
swift_lib = File.join(frameworks_path, fw)
|
|
282
|
+
|
|
283
|
+
# https://developer.apple.com/documentation/xcode_release_notes/xcode_10_1_release_notes
|
|
284
|
+
# The App Store and TestFlight don't accept submissions containing arm64e. Xcode will remove arm64e content from your app when you distribute from the Organizer window. (42296212)
|
|
285
|
+
if is_appstore
|
|
286
|
+
if %x[ xcodebuild -version | grep 'Xcode' ].strip == 'Xcode 10.1'
|
|
287
|
+
system("lipo -remove arm64e -output '#{swift_lib}' '#{swift_lib}'")
|
|
288
|
+
end
|
|
289
|
+
end
|
|
290
|
+
|
|
281
291
|
swift_lib = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/#{fw}"
|
|
282
292
|
|
|
283
293
|
if File.exist?(swift_lib)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nixenvironment
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.152
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-05-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cocoapods
|