pod-builder 1.9.2 → 1.9.3

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: ebfd3cfdef300ede140276e453c2b96b889356cf777b7dce0c97a04c00a40884
4
- data.tar.gz: 07db6bac19bab8a7f1d7c362cfbef4a77bf36cde60f44dee8173d3cb3879786d
3
+ metadata.gz: 44fea048890540dd75a6b4dca94995a526c9978ad8b496b2af98bbdd97c3a7e2
4
+ data.tar.gz: 0efc17fe9c8ed070338f6b08e7190dde2826d14c9056c496e97e7c69b48ae72a
5
5
  SHA512:
6
- metadata.gz: ee7d1ccacef8782cc2fbbd13338a6d13954d9bebf0384db832b72b06620f65766a472483aed2c79e45c18ee872b0a5f016b8e3cc385c43162da490b6ef3ac532
7
- data.tar.gz: cb2e94d052b5ab1dcbafebe6252168f2576d7822c513e300fc1e4011ba22b4164dac6803ba68bebdcb28a4f74174c48c4ac935ea004a2b15b83abec7b6eee6b2
6
+ metadata.gz: dba81b8a392cfc9969a506a43cd3df30a58280946946c452fce20b3cba71535d51b65c205cca28c81825d5fdaf8588234ef8ff290f94a5ab709731f23eef087d
7
+ data.tar.gz: 802a0df25a2178fb3837b765456b086898d0f09f5d15c2caf50d91fdedb216973e6812fd981102c57c862c2d8daee2ee30136c803cb3e944d08b622a2dbdfb2c
@@ -98,7 +98,7 @@ module PodBuilder
98
98
  # It is important that CocoaPods compiles the files under Configuration.build_path in order that DWARF
99
99
  # debug info reference to this path. Doing otherwise breaks the assumptions that make the `update_lldbinit`
100
100
  # command work
101
- podfile_content.gsub!(podfile_item.path, destination_path)
101
+ podfile_content.gsub!("'#{podfile_item.path}'", "'#{destination_path}'")
102
102
 
103
103
  license_files = Dir.glob("#{destination_path}/**/*acknowledgements.plist").each { |f| File.delete(f) }
104
104
  end
@@ -35,10 +35,14 @@ module PodBuilder
35
35
 
36
36
  # These settings need to be set as is to properly build frameworks
37
37
  build_settings['SWIFT_COMPILATION_MODE'] = 'wholemodule'
38
- build_settings['CLANG_ENABLE_MODULE_DEBUGGING'] = 'NO'
39
38
  build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
39
+ build_settings['CLANG_ENABLE_MODULE_DEBUGGING'] = "NO" # no drawbacks, see: https://stackoverflow.com/a/36367933/574449
40
40
  build_settings['DEBUG_INFORMATION_FORMAT'] = "dwarf-with-dsym"
41
41
 
42
+ if Configuration.build_system == "Legacy"
43
+ build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = "NO"
44
+ end
45
+
42
46
  build_settings['SWIFT_VERSION'] = item_build_settings["SWIFT_VERSION"] || item.swift_version || project_swift_version(analyzer)
43
47
 
44
48
  item_build_settings.each do |k, v|
@@ -1,4 +1,4 @@
1
1
  module PodBuilder
2
- VERSION = "1.9.2"
2
+ VERSION = "1.9.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pod-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.2
4
+ version: 1.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Camin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-16 00:00:00.000000000 Z
11
+ date: 2020-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler