pod-builder 1.4.1 → 1.5.0

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: 579fa3975cfe6729333d8692740080404b88b5efab4633bfc04c43e86d9c8df4
4
- data.tar.gz: 8c19045b7ab248df1207c91359ff73fd2ced991e9819ca11f7caed4b0915b771
3
+ metadata.gz: 1ed1f8c8e0a7da95f84809e493f7cb3fb7ed6d024f1b17f57e73b54e27e661f2
4
+ data.tar.gz: e210f06322e54da06ed82fc1ecea03b8dcc9ab5ae50c44beedb34df667ddb4d2
5
5
  SHA512:
6
- metadata.gz: 1bfc85f13371bb2788f8b50ada7df34bf3bd398f9b5c9ab6d5b0a98ad78c4c2b339dcb27a4949ee2e33ddd01eca44b4001bef9077744dcb0901674d1373a2f00
7
- data.tar.gz: c73eba9f015cd300c71bcd43191b4e2c0e518a3d68b70774b996721184f4180d298fd60f6e384238ca9cf46e73a246d6ebd00ad8d924fe50fa678d2521951b58
6
+ metadata.gz: '08086526e3001eced878eb22656a82b06527a247f3bc8f93d30eb9a9a5962dc8e565fc3b8cca0f5bd08aa41316500450aa49970b0773b1aa0242af90afcc6d62'
7
+ data.tar.gz: f876724cb3b9b99357e5162265c780f8e752e2287af452104910b576d9f35d1b822597f9fdf01a50d144ad0665374b78ad510082cbb167368074a0c922abfa08
@@ -54,6 +54,11 @@ module PodBuilder
54
54
  else
55
55
  FileUtils.cp_r("#{PodBuilder::basepath(podfile_item.path)}/.", destination_path)
56
56
  end
57
+
58
+ # It is important that CocoaPods compiles the files under Configuration.build_path in order that DWARF
59
+ # debug symbols reference to those paths. Doing otherwise breaks the assumptions that make the update_lldbinit
60
+ # command work
61
+ podfile_content.gsub!(podfile_item.path, destination_path)
57
62
 
58
63
  license_files = Dir.glob("#{destination_path}/**/*acknowledgements.plist").each { |f| File.delete(f) }
59
64
  end
@@ -136,7 +141,7 @@ module PodBuilder
136
141
  subspec_self_deps = subspecs_deps.select { |x| x.start_with?("#{podfile_item.root_name}/") }
137
142
  plist_data['specs'] = (specs.map(&:name) + subspec_self_deps).uniq
138
143
  plist_data['is_static'] = podfile_item.is_static
139
- plist_data['original_compile_path'] = Configuration.build_path
144
+ plist_data['original_compile_path'] = Pathname.new(Configuration.build_path).realpath.to_s
140
145
 
141
146
  plist.value = CFPropertyList.guess(plist_data)
142
147
  plist.save(podbuilder_file, CFPropertyList::List::FORMAT_BINARY)
@@ -1,4 +1,4 @@
1
1
  module PodBuilder
2
- VERSION = "1.4.1"
2
+ VERSION = "1.5.0"
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.4.1
4
+ version: 1.5.0
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-02 00:00:00.000000000 Z
11
+ date: 2020-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler