pod-builder 1.9.4 → 2.0.0.beta.18

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.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +9 -0
  3. data/Example/Frameworks/.gitignore +6 -0
  4. data/Example/Frameworks/.pod_builder/pod_builder +0 -0
  5. data/Example/Frameworks/PodBuilder.json +10 -4
  6. data/Example/Frameworks/Podfile +23 -0
  7. data/Example/Frameworks/Podfile.restore +40 -0
  8. data/Example/PodBuilderExample/AppDelegate.swift +4 -0
  9. data/Example/PodBuilderExample.xcodeproj/project.pbxproj +3 -8
  10. data/Example/{PodBuilderExample.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/xcschememanagement.plist → PodBuilderExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist} +2 -8
  11. data/Example/Podfile +44 -1
  12. data/Example/Podfile.lock +426 -7
  13. data/Example/Pods-acknowledgements.md +210 -0
  14. data/Example/Pods-acknowledgements.plist +206 -0
  15. data/README.md +38 -1
  16. data/exe/pod_builder +14 -14
  17. data/lib/pod_builder/analyze.rb +32 -7
  18. data/lib/pod_builder/analyzer.rb +16 -0
  19. data/lib/pod_builder/command/build.rb +110 -109
  20. data/lib/pod_builder/command/clean.rb +9 -11
  21. data/lib/pod_builder/command/clear_lldbinit.rb +1 -1
  22. data/lib/pod_builder/command/deintegrate.rb +2 -1
  23. data/lib/pod_builder/command/generate_lfs.rb +2 -2
  24. data/lib/pod_builder/command/install_sources.rb +1 -1
  25. data/lib/pod_builder/command/switch.rb +99 -99
  26. data/lib/pod_builder/command/sync_podfile.rb +2 -1
  27. data/lib/pod_builder/command/update.rb +1 -1
  28. data/lib/pod_builder/command/update_lldbinit.rb +2 -2
  29. data/lib/pod_builder/configuration.rb +61 -7
  30. data/lib/pod_builder/core.rb +60 -5
  31. data/lib/pod_builder/info.rb +24 -90
  32. data/lib/pod_builder/install.rb +148 -82
  33. data/lib/pod_builder/podfile/post_actions.rb +0 -1
  34. data/lib/pod_builder/podfile.rb +83 -14
  35. data/lib/pod_builder/podfile_item.rb +152 -74
  36. data/lib/pod_builder/podspec.rb +125 -133
  37. data/lib/pod_builder/rome/post_install.rb +248 -0
  38. data/lib/pod_builder/rome/pre_install.rb +6 -0
  39. data/lib/pod_builder/templates/build_podfile.template +1 -1
  40. data/lib/pod_builder/version.rb +1 -1
  41. data/pod-builder.gemspec +3 -3
  42. metadata +28 -60
  43. data/Example/Pods/Alamofire/LICENSE +0 -19
  44. data/Example/Pods/Alamofire/README.md +0 -242
  45. data/Example/Pods/Alamofire/Source/AFError.swift +0 -460
  46. data/Example/Pods/Alamofire/Source/Alamofire.swift +0 -465
  47. data/Example/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift +0 -37
  48. data/Example/Pods/Alamofire/Source/MultipartFormData.swift +0 -580
  49. data/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift +0 -233
  50. data/Example/Pods/Alamofire/Source/Notifications.swift +0 -55
  51. data/Example/Pods/Alamofire/Source/ParameterEncoding.swift +0 -483
  52. data/Example/Pods/Alamofire/Source/Request.swift +0 -654
  53. data/Example/Pods/Alamofire/Source/Response.swift +0 -567
  54. data/Example/Pods/Alamofire/Source/ResponseSerialization.swift +0 -715
  55. data/Example/Pods/Alamofire/Source/Result.swift +0 -300
  56. data/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift +0 -307
  57. data/Example/Pods/Alamofire/Source/SessionDelegate.swift +0 -725
  58. data/Example/Pods/Alamofire/Source/SessionManager.swift +0 -896
  59. data/Example/Pods/Alamofire/Source/TaskDelegate.swift +0 -466
  60. data/Example/Pods/Alamofire/Source/Timeline.swift +0 -136
  61. data/Example/Pods/Alamofire/Source/Validation.swift +0 -315
  62. data/Example/Pods/Manifest.lock +0 -16
  63. data/Example/Pods/Pods.xcodeproj/project.pbxproj +0 -673
  64. data/Example/Pods/Pods.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/Alamofire.xcscheme +0 -60
  65. data/Example/Pods/Pods.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/Pods-PodBuilderExample.xcscheme +0 -60
  66. data/Example/Pods/Pods.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/xcschememanagement.plist +0 -21
  67. data/Example/Pods/Target Support Files/Alamofire/Alamofire-dummy.m +0 -5
  68. data/Example/Pods/Target Support Files/Alamofire/Alamofire-prefix.pch +0 -12
  69. data/Example/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h +0 -16
  70. data/Example/Pods/Target Support Files/Alamofire/Alamofire.modulemap +0 -6
  71. data/Example/Pods/Target Support Files/Alamofire/Alamofire.xcconfig +0 -9
  72. data/Example/Pods/Target Support Files/Alamofire/Info.plist +0 -26
  73. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Info.plist +0 -26
  74. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-acknowledgements.markdown +0 -26
  75. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-acknowledgements.plist +0 -58
  76. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-dummy.m +0 -5
  77. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-frameworks.sh +0 -153
  78. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-resources.sh +0 -118
  79. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-umbrella.h +0 -16
  80. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample.debug.xcconfig +0 -11
  81. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample.modulemap +0 -6
  82. data/Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample.release.xcconfig +0 -11
  83. data/lib/pod_builder/cocoapods/specification.rb +0 -27
@@ -0,0 +1,248 @@
1
+ require 'fourflusher'
2
+ require 'colored'
3
+
4
+ module PodBuilder
5
+ def self.build_for_iosish_platform(sandbox, build_dir, target, device, simulator, configuration, deterministic_build, build_for_apple_silicon)
6
+ raise "Apple silicon hardware still unsupported since it requires to migrate to xcframeworks" if build_for_apple_silicon
7
+
8
+ deployment_target = target.platform_deployment_target
9
+ target_label = target.cocoapods_target_label
10
+
11
+ xcodebuild(sandbox, target_label, device, deployment_target, configuration, deterministic_build, [])
12
+ excluded_archs = build_for_apple_silicon ? [] : ["arm64"]
13
+ xcodebuild(sandbox, target_label, simulator, deployment_target, configuration, deterministic_build, excluded_archs)
14
+
15
+ spec_names = target.specs.map { |spec| [spec.root.name, spec.root.module_name] }.uniq
16
+ spec_names.each do |root_name, module_name|
17
+ executable_path = "#{build_dir}/#{root_name}"
18
+ device_lib = "#{build_dir}/#{configuration}-#{device}/#{root_name}/#{module_name}.framework/#{module_name}"
19
+ device_framework_lib = File.dirname(device_lib)
20
+ device_swift_header_path = "#{device_framework_lib}/Headers/#{module_name}-Swift.h"
21
+
22
+ simulator_lib = "#{build_dir}/#{configuration}-#{simulator}/#{root_name}/#{module_name}.framework/#{module_name}"
23
+ simulator_framework_lib = File.dirname(simulator_lib)
24
+ simulator_swift_header_path = "#{simulator_framework_lib}/Headers/#{module_name}-Swift.h"
25
+
26
+ next unless File.file?(device_lib) && File.file?(simulator_lib)
27
+
28
+ # Starting with Xcode 12b3 the simulator binary contains an arm64 slice as well which conflict with the one in the device_lib
29
+ # when creating the fat library. A naive workaround is to remove the arm64 from the simulator_lib however this is wrong because
30
+ # we might actually need to have 2 separated arm64 slices, one for simulator and one for device each built with different
31
+ # compile time directives (e.g #if targetEnvironment(simulator))
32
+ #
33
+ # For the time being we remove the arm64 slice bacause otherwise the `xcrun lipo -create -output ...` would fail.
34
+ if `xcrun lipo -info #{simulator_lib}`.include?("arm64")
35
+ `xcrun lipo -remove arm64 #{simulator_lib} -o #{simulator_lib}`
36
+ end
37
+
38
+ lipo_log = `xcrun lipo -create -output #{executable_path} #{device_lib} #{simulator_lib}`
39
+ puts lipo_log unless File.exist?(executable_path)
40
+
41
+ # Merge swift headers as per Xcode 10.2 release notes
42
+ if File.exist?(device_swift_header_path) && File.exist?(simulator_swift_header_path)
43
+ device_content = File.read(device_swift_header_path)
44
+ simulator_content = File.read(simulator_swift_header_path)
45
+ merged_content = %{
46
+ #if TARGET_OS_SIMULATOR
47
+ #{simulator_content}
48
+ #else
49
+ #{device_content}
50
+ #endif
51
+ }
52
+ File.write(device_swift_header_path, merged_content)
53
+ end
54
+
55
+ FileUtils.mv executable_path, device_lib, :force => true
56
+ FileUtils.mv device_framework_lib, build_dir, :force => true
57
+ FileUtils.rm simulator_lib if File.file?(simulator_lib)
58
+ FileUtils.rm device_lib if File.file?(device_lib)
59
+ end
60
+ end
61
+
62
+ def self.xcodebuild(sandbox, target, sdk='macosx', deployment_target=nil, configuration, deterministic_build, exclude_archs)
63
+ args = %W(-project #{sandbox.project_path.realdirpath} -scheme #{target} -configuration #{configuration} -sdk #{sdk})
64
+ supported_platforms = { 'iphonesimulator' => 'iOS', 'appletvsimulator' => 'tvOS', 'watchsimulator' => 'watchOS' }
65
+ if platform = supported_platforms[sdk]
66
+ args += Fourflusher::SimControl.new.destination(:oldest, platform, deployment_target) unless platform.nil?
67
+ end
68
+
69
+ xcodebuild_version = `xcodebuild -version | head -n1 | awk '{print $2}'`.strip().to_f
70
+ if exclude_archs.count > 0 && xcodebuild_version >= 12.0
71
+ args += ["EXCLUDED_ARCHS=#{exclude_archs.join(" ")}"]
72
+ end
73
+
74
+ environmental_variables = {}
75
+ if deterministic_build
76
+ environmental_variables["ZERO_AR_DATE"] = "1"
77
+ end
78
+
79
+ execute_command 'xcodebuild', args, true, environmental_variables
80
+ end
81
+
82
+ # Copy paste implementation from CocoaPods internals to be able to call poopen3 passing environmental variables
83
+ def self.execute_command(executable, command, raise_on_failure = true, environmental_variables = {})
84
+ bin = Pod::Executable.which!(executable)
85
+
86
+ command = command.map(&:to_s)
87
+ full_command = "#{bin} #{command.join(' ')}"
88
+
89
+ stdout = Pod::Executable::Indenter.new
90
+ stderr = Pod::Executable::Indenter.new
91
+
92
+ status = popen3(bin, command, stdout, stderr, environmental_variables)
93
+ stdout = stdout.join
94
+ stderr = stderr.join
95
+ output = stdout + stderr
96
+ unless status.success?
97
+ if raise_on_failure
98
+ raise "#{full_command}\n\n#{output}"
99
+ else
100
+ UI.message("[!] Failed: #{full_command}".red)
101
+ end
102
+ end
103
+
104
+ output
105
+ end
106
+
107
+ def self.popen3(bin, command, stdout, stderr, environmental_variables)
108
+ require 'open3'
109
+ Open3.popen3(environmental_variables, bin, *command) do |i, o, e, t|
110
+ Pod::Executable::reader(o, stdout)
111
+ Pod::Executable::reader(e, stderr)
112
+ i.close
113
+
114
+ status = t.value
115
+
116
+ o.flush
117
+ e.flush
118
+ sleep(0.01)
119
+
120
+ status
121
+ end
122
+ end
123
+
124
+ def self.enable_debug_information(project_path, configuration)
125
+ project = Xcodeproj::Project.open(project_path)
126
+ project.targets.each do |target|
127
+ config = target.build_configurations.find { |config| config.name.eql? configuration }
128
+ config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym'
129
+ config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
130
+ end
131
+ project.save
132
+ end
133
+
134
+ def self.copy_dsym_files(dsym_destination, configuration)
135
+ dsym_destination.rmtree if dsym_destination.directory?
136
+
137
+ platforms = Configuration.supported_platforms
138
+ platforms.each do |platform|
139
+ dsym = Pathname.glob("build/#{configuration}-#{platform}/**/*.dSYM")
140
+ dsym.each do |dsym|
141
+ destination = dsym_destination + platform
142
+ FileUtils.mkdir_p destination
143
+ FileUtils.cp_r dsym, destination, :remove_destination => true
144
+ end
145
+ end
146
+ end
147
+ end
148
+
149
+ Pod::HooksManager.register('podbuilder-rome', :post_install) do |installer_context, user_options|
150
+ enable_dsym = user_options.fetch('dsym', true)
151
+ configuration = user_options.fetch('configuration', 'Debug')
152
+ if user_options["pre_compile"]
153
+ user_options["pre_compile"].call(installer_context)
154
+ end
155
+
156
+ sandbox_root = Pathname(installer_context.sandbox_root)
157
+ sandbox = Pod::Sandbox.new(sandbox_root)
158
+
159
+ PodBuilder::enable_debug_information(sandbox.project_path, configuration)
160
+
161
+ build_dir = sandbox_root.parent + 'build'
162
+ destination = sandbox_root.parent + 'Rome'
163
+
164
+ build_dir.rmtree if build_dir.directory?
165
+ targets = installer_context.umbrella_targets.select { |t| t.specs.any? }
166
+ targets.each do |target|
167
+ case target.platform_name
168
+ when :ios then PodBuilder::build_for_iosish_platform(sandbox, build_dir, target, 'iphoneos', 'iphonesimulator', configuration, PodBuilder::Configuration.deterministic_build, PodBuilder::Configuration.build_for_apple_silicon)
169
+ when :osx then PodBuilder::xcodebuild(sandbox, target.cocoapods_target_label, configuration, PodBuilder::Configuration.deterministic_build, PodBuilder::Configuration.build_for_apple_silicon)
170
+ when :tvos then PodBuilder::build_for_iosish_platform(sandbox, build_dir, target, 'appletvos', 'appletvsimulator', configuration, PodBuilder::Configuration.deterministic_build, PodBuilder::Configuration.build_for_apple_silicon)
171
+ when :watchos then PodBuilder::build_for_iosish_platform(sandbox, build_dir, target, 'watchos', 'watchsimulator', configuration, PodBuilder::Configuration.deterministic_build, PodBuilder::Configuration.build_for_apple_silicon)
172
+ else raise "Unknown platform '#{target.platform_name}'" end
173
+ end
174
+
175
+ raise Pod::Informative, 'The build directory was not found in the expected location.' unless build_dir.directory?
176
+
177
+ # Make sure the device target overwrites anything in the simulator build, otherwise iTunesConnect
178
+ # can get upset about Info.plist containing references to the simulator SDK
179
+ frameworks = Pathname.glob("build/*/*/*.framework").reject { |f| f.to_s =~ /Pods[^.]+\.framework/ }
180
+ frameworks += Pathname.glob("build/*.framework").reject { |f| f.to_s =~ /Pods[^.]+\.framework/ }
181
+
182
+ resources = []
183
+
184
+ Pod::UI.puts "Built #{frameworks.count} #{'frameworks'.pluralize(frameworks.count)}"
185
+
186
+ destination.rmtree if destination.directory?
187
+
188
+ installer_context.umbrella_targets.each do |umbrella|
189
+ umbrella.specs.each do |spec|
190
+ consumer = spec.consumer(umbrella.platform_name)
191
+ file_accessor = Pod::Sandbox::FileAccessor.new(sandbox.pod_dir(spec.root.name), consumer)
192
+ frameworks += file_accessor.vendored_libraries
193
+ frameworks += file_accessor.vendored_frameworks
194
+ resources += file_accessor.resources
195
+ end
196
+ end
197
+ frameworks.uniq!
198
+ resources.uniq!
199
+
200
+ Pod::UI.puts "Copying #{frameworks.count} #{'frameworks'.pluralize(frameworks.count)} " \
201
+ "to `#{destination.relative_path_from Pathname.pwd}`"
202
+
203
+ FileUtils.mkdir_p destination
204
+ (frameworks + resources).each do |file|
205
+ FileUtils.cp_r file, destination, :remove_destination => true
206
+ end
207
+
208
+ if enable_dsym
209
+ PodBuilder::copy_dsym_files(sandbox_root.parent + 'dSYM', configuration)
210
+ else
211
+ frameworks = Dir.glob(File.join(destination, "*.framework"))
212
+
213
+ dsym_base_path = sandbox_root.parent + 'dSYM'
214
+
215
+ # manually generate dSYMs
216
+ frameworks.each do |framework|
217
+ module_name = File.basename(framework, ".*")
218
+ is_static = `file #{File.join(framework, module_name)} | grep 'ar archive' | wc -l`.strip() != "0"
219
+
220
+ if !is_static
221
+ destination_dSYM = File.join(dsym_base_path, "#{module_name}.dSYM")
222
+ FileUtils.mkdir_p(dsym_base_path)
223
+
224
+ module_path = "#{File.join(framework, module_name)}"
225
+ system("xcrun dsymutil '#{module_path}' -no-swiftmodule-timestamp -o '#{destination_dSYM}' 2>/dev/null")
226
+ if `xcrun codesign -v #{module_path} 2>&1 | grep 'code object is not signed at all' | wc -l`.strip() == "1"
227
+ system("xcrun strip -x -S '#{module_path}'")
228
+ else
229
+ # Running strip on codesigned binaries triggers the following warning:
230
+ # 'strip: changes being made to the file will invalidate the code signature in: path to binary'
231
+ puts "#{module_name} appears to be codesigned, skipping stripping.".blue
232
+ end
233
+
234
+ # Sanity check
235
+ binary_uuid = `xcrun dwarfdump --uuid '#{module_path}' | cut -d" " -f2`
236
+ dsym_uuid = `xcrun dwarfdump --uuid '#{File.join(destination_dSYM, "Contents", "Resources", "DWARF", module_name)}' | cut -d" " -f2`
237
+
238
+ raise "dSYM sanity check failed for '#{framework}', UUID do not match!" unless binary_uuid == dsym_uuid
239
+ end
240
+ end
241
+ end
242
+
243
+ build_dir.rmtree if build_dir.directory?
244
+
245
+ if user_options["post_compile"]
246
+ user_options["post_compile"].call(installer_context)
247
+ end
248
+ end
@@ -0,0 +1,6 @@
1
+ Pod::HooksManager.register('podbuilder-rome', :pre_install) do |installer_context|
2
+ podfile = installer_context.podfile
3
+ podfile.use_frameworks!
4
+ podfile.install!('cocoapods',
5
+ podfile.installation_method.last.merge(:integrate_targets => false))
6
+ end
@@ -4,7 +4,7 @@ require 'CFPropertyList'
4
4
 
5
5
  use_frameworks!
6
6
 
7
- plugin 'cocoapods-rome', { dsym: true, configuration: '%%%build_configuration%%%', pre_compile: Proc.new { |installer|
7
+ plugin 'podbuilder-rome', { dsym: true, configuration: '%%%build_configuration%%%', pre_compile: Proc.new { |installer|
8
8
 
9
9
  def set_build_settings(target_name, build_configurations, installer)
10
10
  installer.pods_project.targets.each do |target|
@@ -1,4 +1,4 @@
1
1
  module PodBuilder
2
- VERSION = "1.9.4"
2
+ VERSION = "2.0.0.beta.18"
3
3
  end
4
4
 
data/pod-builder.gemspec CHANGED
@@ -23,14 +23,14 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 2.0"
25
25
  spec.add_development_dependency "rake", ">= 12.3.3"
26
- spec.add_development_dependency "ruby-debug-ide"
27
- spec.add_development_dependency "debase"
26
+ spec.add_development_dependency "ruby-debug-ide", '0.6.1'
27
+ spec.add_development_dependency "debase", '0.2.2'
28
28
 
29
29
  spec.add_runtime_dependency 'xcodeproj'
30
30
  spec.add_runtime_dependency 'colored'
31
31
  spec.add_runtime_dependency 'highline'
32
32
  spec.add_runtime_dependency 'cocoapods', '~> 1.6'
33
33
  spec.add_runtime_dependency 'cocoapods-core', '~> 1.6'
34
- spec.add_runtime_dependency 'cocoapods-rome', '~> 1.0'
35
34
  spec.add_runtime_dependency 'CFPropertyList'
35
+ spec.add_runtime_dependency 'json'
36
36
  end
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.4
4
+ version: 2.0.0.beta.18
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-05-12 00:00:00.000000000 Z
11
+ date: 2020-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,30 +42,30 @@ dependencies:
42
42
  name: ruby-debug-ide
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 0.6.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 0.6.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: debase
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 0.2.2
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 0.2.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: xcodeproj
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -137,21 +137,21 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '1.6'
139
139
  - !ruby/object:Gem::Dependency
140
- name: cocoapods-rome
140
+ name: CFPropertyList
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: '1.0'
145
+ version: '0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '1.0'
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: CFPropertyList
154
+ name: json
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
@@ -173,13 +173,17 @@ extensions: []
173
173
  extra_rdoc_files: []
174
174
  files:
175
175
  - ".gitignore"
176
+ - Example/Frameworks/.gitignore
177
+ - Example/Frameworks/.pod_builder/pod_builder
176
178
  - Example/Frameworks/PodBuilder.json
179
+ - Example/Frameworks/Podfile
180
+ - Example/Frameworks/Podfile.restore
177
181
  - Example/PodBuilderExample.xcodeproj/project.pbxproj
178
182
  - Example/PodBuilderExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
179
183
  - Example/PodBuilderExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
180
184
  - Example/PodBuilderExample.xcodeproj/project.xcworkspace/xcuserdata/tomas.xcuserdatad/UserInterfaceState.xcuserstate
181
- - Example/PodBuilderExample.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/xcschememanagement.plist
182
185
  - Example/PodBuilderExample.xcworkspace/contents.xcworkspacedata
186
+ - Example/PodBuilderExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
183
187
  - Example/PodBuilderExample/AppDelegate.swift
184
188
  - Example/PodBuilderExample/Assets.xcassets/AppIcon.appiconset/Contents.json
185
189
  - Example/PodBuilderExample/Assets.xcassets/Contents.json
@@ -189,46 +193,8 @@ files:
189
193
  - Example/PodBuilderExample/ViewController.swift
190
194
  - Example/Podfile
191
195
  - Example/Podfile.lock
192
- - Example/Pods/Alamofire/LICENSE
193
- - Example/Pods/Alamofire/README.md
194
- - Example/Pods/Alamofire/Source/AFError.swift
195
- - Example/Pods/Alamofire/Source/Alamofire.swift
196
- - Example/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
197
- - Example/Pods/Alamofire/Source/MultipartFormData.swift
198
- - Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift
199
- - Example/Pods/Alamofire/Source/Notifications.swift
200
- - Example/Pods/Alamofire/Source/ParameterEncoding.swift
201
- - Example/Pods/Alamofire/Source/Request.swift
202
- - Example/Pods/Alamofire/Source/Response.swift
203
- - Example/Pods/Alamofire/Source/ResponseSerialization.swift
204
- - Example/Pods/Alamofire/Source/Result.swift
205
- - Example/Pods/Alamofire/Source/ServerTrustPolicy.swift
206
- - Example/Pods/Alamofire/Source/SessionDelegate.swift
207
- - Example/Pods/Alamofire/Source/SessionManager.swift
208
- - Example/Pods/Alamofire/Source/TaskDelegate.swift
209
- - Example/Pods/Alamofire/Source/Timeline.swift
210
- - Example/Pods/Alamofire/Source/Validation.swift
211
- - Example/Pods/Manifest.lock
212
- - Example/Pods/Pods.xcodeproj/project.pbxproj
213
- - Example/Pods/Pods.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/Alamofire.xcscheme
214
- - Example/Pods/Pods.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/Pods-PodBuilderExample.xcscheme
215
- - Example/Pods/Pods.xcodeproj/xcuserdata/tomas.xcuserdatad/xcschemes/xcschememanagement.plist
216
- - Example/Pods/Target Support Files/Alamofire/Alamofire-dummy.m
217
- - Example/Pods/Target Support Files/Alamofire/Alamofire-prefix.pch
218
- - Example/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h
219
- - Example/Pods/Target Support Files/Alamofire/Alamofire.modulemap
220
- - Example/Pods/Target Support Files/Alamofire/Alamofire.xcconfig
221
- - Example/Pods/Target Support Files/Alamofire/Info.plist
222
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Info.plist
223
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-acknowledgements.markdown
224
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-acknowledgements.plist
225
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-dummy.m
226
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-frameworks.sh
227
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-resources.sh
228
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-umbrella.h
229
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample.debug.xcconfig
230
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample.modulemap
231
- - Example/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample.release.xcconfig
196
+ - Example/Pods-acknowledgements.md
197
+ - Example/Pods-acknowledgements.plist
232
198
  - Gemfile
233
199
  - LICENSE.txt
234
200
  - README.md
@@ -238,7 +204,7 @@ files:
238
204
  - exe/pod_builder
239
205
  - lib/core_ext/string.rb
240
206
  - lib/pod_builder/analyze.rb
241
- - lib/pod_builder/cocoapods/specification.rb
207
+ - lib/pod_builder/analyzer.rb
242
208
  - lib/pod_builder/command.rb
243
209
  - lib/pod_builder/command/build.rb
244
210
  - lib/pod_builder/command/build_all.rb
@@ -265,6 +231,8 @@ files:
265
231
  - lib/pod_builder/podfile/post_actions.rb
266
232
  - lib/pod_builder/podfile_item.rb
267
233
  - lib/pod_builder/podspec.rb
234
+ - lib/pod_builder/rome/post_install.rb
235
+ - lib/pod_builder/rome/pre_install.rb
268
236
  - lib/pod_builder/templates/build_podfile.template
269
237
  - lib/pod_builder/templates/build_podspec.template
270
238
  - lib/pod_builder/version.rb
@@ -284,9 +252,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
284
252
  version: '0'
285
253
  required_rubygems_version: !ruby/object:Gem::Requirement
286
254
  requirements:
287
- - - ">="
255
+ - - ">"
288
256
  - !ruby/object:Gem::Version
289
- version: '0'
257
+ version: 1.3.1
290
258
  requirements: []
291
259
  rubygems_version: 3.1.2
292
260
  signing_key:
@@ -1,19 +0,0 @@
1
- Copyright (c) 2014-2018 Alamofire Software Foundation (http://alamofire.org/)
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is
8
- furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in
11
- all copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.