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: eebecb5d984b392bf1b9f87288de171f1f2121e4929c7785bdeae4c145ee551d
4
- data.tar.gz: 56dca44fd9adfc61f47f8cdaaf29d2bd14565d3d7e86f80a7b148dcd832edf9b
3
+ metadata.gz: 91743fa812b4ff51a9a75da330b5cba6b2d31f2507faee651c50095092c84a44
4
+ data.tar.gz: 36f2cd59a913c2f9769fe05f745d093954dd63a5e7ea718ca40021e8d1dc3bb0
5
5
  SHA512:
6
- metadata.gz: '081e252736e148f1611222008e5cb2b132d8cff53c0faf3280d8b7c6d51bdeba351e385761273d4e7863500967d91713d92fb8c2a1e1a2940659da59f1577350'
7
- data.tar.gz: 6a1980398f29abf62725439570e6c53b839f5abd63a707fb1b473cf1f2ad1015db4fffdb8b3afaf2335040476aa8529ae4741b9168a2d08b9ae5716b40059107
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)
@@ -31,6 +31,6 @@ module ProvisioningHelper
31
31
  end
32
32
 
33
33
  def remove_local_provisioning_profiles
34
- FileUtils::rm_rf(path_to_provisioning_profiles)
34
+ # FileUtils::rm_rf(path_to_provisioning_profiles)
35
35
  end
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.150'
2
+ VERSION = '0.0.152'
3
3
  end
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.150
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-03-05 00:00:00.000000000 Z
12
+ date: 2019-05-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocoapods