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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b68e52a5461141c3370ea7dc00ddb205846f9ed7e2f2efce5a026e412b3b0d17
4
- data.tar.gz: 800fd0c1940127ac4805a72cacd31f8311c146fe42a45596a4c9400e20764e37
3
+ metadata.gz: e4522467169beb6be2f8df94e80263dd3c32d763cc6abff929af37f07b3d136c
4
+ data.tar.gz: 4b5c7f3159d15dc84a0de50d152e2a0f608451b10947e5f065f0774a4c471435
5
5
  SHA512:
6
- metadata.gz: a1edc1b03e0f53c84ca624586c8d80631f22639e158888ebedf650c2224658a8f9d90f53bd1225a29b970293d5672ec906121c95c654495d1eba0039e226f98c
7
- data.tar.gz: 4e16e658df48c264b84b4cf4db2fa44191aa929b4de1106d6bc84cb1f07227d9338c468339f6a28ce21b4a8757e191fcdb3a532f53cdcd04a2ed76c6b9b1565f
6
+ metadata.gz: 2bd8c49f5b764af7a63610fcad31f6716a43b91571473ec7d81c314dba064a2185adc80397ebdfd5e99185dc9d917632cbd4611a330f0f137c7a9140643af1db
7
+ data.tar.gz: d4c7b0c739914fa5e7c0ea7785575bdfba71a1f25ab7bd85d2590c394469817ae34438a4ff3f13db78952bfd356ac377fe68820efa7fe7c03aabcd123d0f958b
data/.gitignore CHANGED
@@ -8,3 +8,12 @@
8
8
  /tmp/
9
9
  Gemfile.lock
10
10
  .vscode/
11
+ .DS_Store
12
+ Example/Pods
13
+ Example/Frameworks/Rome
14
+
15
+ Example/Frameworks/dSYM
16
+
17
+ Example/PodBuilderExample.xcodeproj/xcuserdata/*.xcuserdatad
18
+ Example/PodBuilderExample.xcworkspace/xcuserdata
19
+ Example/Pods
@@ -0,0 +1,6 @@
1
+ Pods/
2
+ *.xcworkspace
3
+ *.xcodeproj
4
+ Podfile.lock
5
+ Sources
6
+ PodBuilderDevPodsPaths.json
File without changes
@@ -1,9 +1,9 @@
1
1
  {
2
- "project_name": "",
2
+ "project_name": "PodBuilderExample",
3
3
  "spec_overrides": {
4
4
  "Google-Mobile-Ads-SDK": {
5
5
  "module_name": "GoogleMobileAds"
6
- },
6
+ }
7
7
  },
8
8
  "skip_licenses": [
9
9
 
@@ -12,17 +12,23 @@
12
12
  "GoogleMaps"
13
13
  ],
14
14
  "force_prebuild_pods": [
15
- "Firebase"
15
+ "Firebase",
16
+ "GoogleTagManager"
16
17
  ],
17
18
  "build_settings": {
18
19
  "ENABLE_BITCODE": "NO",
19
20
  "GCC_OPTIMIZATION_LEVEL": "s",
20
21
  "SWIFT_OPTIMIZATION_LEVEL": "-Osize",
21
- "SWIFT_COMPILATION_MODE": "wholemodule"
22
+ "SWIFT_COMPILATION_MODE": "wholemodule",
23
+ "CODE_SIGN_IDENTITY": "",
24
+ "CODE_SIGNING_REQUIRED": "NO",
25
+ "CODE_SIGN_ENTITLEMENTS": "",
26
+ "CODE_SIGNING_ALLOWED": "NO"
22
27
  },
23
28
  "build_settings_overrides": {
24
29
  },
25
30
  "build_system": "Legacy",
31
+ "library_evolution_support": false,
26
32
  "license_filename": "Pods-acknowledgements",
27
33
  "subspecs_to_split": [
28
34
 
@@ -0,0 +1,23 @@
1
+ platform :ios, '9.0'
2
+
3
+ target 'PodBuilderExample' do
4
+ use_frameworks!
5
+
6
+ # Pods for PodBuilderExample
7
+ pod 'Alamofire' # Swift sample
8
+ pod 'AFNetworking' # Objective-C sample
9
+ pod 'Loop' # Assets
10
+
11
+ # Firebase
12
+ pod 'Firebase'
13
+ pod 'FirebaseCore'
14
+ pod 'FirebaseDatabase'
15
+ pod 'FirebaseAuth'
16
+ pod 'FirebaseFirestore'
17
+ pod 'FirebasePerformance'
18
+ pod 'FirebaseCrashlytics'
19
+ end
20
+
21
+ pre_install do |installer|
22
+ raise "\n🚨 Do not launch 'pod install' manually, use `pod_builder` instead!\n" if !File.exist?('pod_builder.lock')
23
+ end
@@ -0,0 +1,40 @@
1
+ # Autogenerated by PodBuilder (https://github.com/Subito-it/PodBuilder)
2
+ # Please don't modify this file
3
+
4
+
5
+
6
+ use_frameworks!
7
+
8
+ platform :ios, '9.0'
9
+
10
+ target 'PodBuilderExample' do
11
+ pod 'AFNetworking', '=4.0.1' # pb<AFNetworking> is<false>
12
+ pod 'Alamofire', '=4.9.1' # pb<Alamofire> is<false> sv<swiftlang-1200.0.25.2>
13
+ pod 'BoringSSL-GRPC', '=0.0.7' # pb<BoringSSL-GRPC> is<false>
14
+ pod 'Firebase', '=6.30.0' # pb<Firebase>
15
+ pod 'FirebaseABTesting', '=4.2.0' # pb<FirebaseABTesting>
16
+ pod 'FirebaseAnalytics', '=6.7.2'
17
+ pod 'FirebaseAuth', '=6.8.0' # pb<FirebaseAuth> is<true>
18
+ pod 'FirebaseCore', '=6.10.0' # pb<FirebaseCore> is<true>
19
+ pod 'FirebaseCoreDiagnostics', '=1.5.0' # pb<FirebaseCoreDiagnostics> is<true>
20
+ pod 'FirebaseCrashlytics', '=4.4.0' # pb<FirebaseCrashlytics> is<true>
21
+ pod 'FirebaseDatabase', '=6.5.0' # pb<FirebaseDatabase> is<true>
22
+ pod 'FirebaseFirestore', '=1.16.4' # pb<FirebaseFirestore> is<true>
23
+ pod 'FirebaseInstallations', '=1.6.0' # pb<FirebaseInstallations> is<true>
24
+ pod 'FirebasePerformance', '=3.3.0'
25
+ pod 'FirebaseRemoteConfig', '=4.9.0' # pb<FirebaseRemoteConfig>
26
+ pod 'GTMSessionFetcher/Core', '=1.4.0' # pb<GTMSessionFetcher/Core> is<false>
27
+ pod 'GoogleAppMeasurement', '=6.7.2'
28
+ pod 'GoogleDataTransport', '=7.2.0' # pb<GoogleDataTransport> is<true>
29
+ pod 'GoogleToolboxForMac/Defines', '=2.2.2' # pb<GoogleToolboxForMac/Defines>
30
+ pod 'GoogleUtilities/AppDelegateSwizzler', '=6.7.2' # pb<GoogleUtilities/AppDelegateSwizzler> is<false>
31
+ pod 'Loop', '=1.0.0' # pb<Loop> is<false> sv<swiftlang-1200.0.25.2>
32
+ pod 'PromisesObjC', '=1.2.10' # pb<PromisesObjC> is<false>
33
+ pod 'Protobuf', '=3.12.0' # pb<Protobuf>
34
+ pod 'ReactiveSwift', '=6.3.0' # pb<ReactiveSwift> is<false> sv<swiftlang-1200.0.25.2>
35
+ pod 'abseil/algorithm', '=0.20200225.0' # pb<abseil/algorithm> is<false>
36
+ pod 'gRPC-C++', '=1.28.2' # pb<gRPC-C++> is<false>
37
+ pod 'gRPC-Core', '=1.28.2' # pb<gRPC-Core> is<false>
38
+ pod 'leveldb-library', '=1.22' # pb<leveldb-library> is<false>
39
+ pod 'nanopb', '=1.30905.0' # pb<nanopb> is<false>
40
+ end
@@ -8,6 +8,9 @@
8
8
 
9
9
  import UIKit
10
10
  import Alamofire
11
+ import Firebase
12
+ import Loop
13
+ import AFNetworking
11
14
 
12
15
  @UIApplicationMain
13
16
  class AppDelegate: UIResponder, UIApplicationDelegate {
@@ -17,6 +20,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
17
20
 
18
21
  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
19
22
  // Override point for customization after application launch.
23
+
20
24
  return true
21
25
  }
22
26
 
@@ -163,20 +163,15 @@
163
163
  files = (
164
164
  );
165
165
  inputFileListPaths = (
166
- );
167
- inputPaths = (
168
- "${SRCROOT}/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-frameworks.sh",
169
- "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
166
+ "${PODS_ROOT}/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
170
167
  );
171
168
  name = "[CP] Embed Pods Frameworks";
172
169
  outputFileListPaths = (
173
- );
174
- outputPaths = (
175
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
170
+ "${PODS_ROOT}/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
176
171
  );
177
172
  runOnlyForDeploymentPostprocessing = 0;
178
173
  shellPath = /bin/sh;
179
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-frameworks.sh\"\n";
174
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-PodBuilderExample/Pods-PodBuilderExample-frameworks.sh\"\n";
180
175
  showEnvVarsInLog = 0;
181
176
  };
182
177
  9709696C87B33D4C75052133 /* [CP] Check Pods Manifest.lock */ = {
@@ -2,13 +2,7 @@
2
2
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
3
  <plist version="1.0">
4
4
  <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>PodBuilderExample.xcscheme</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>0</integer>
11
- </dict>
12
- </dict>
5
+ <key>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
13
7
  </dict>
14
8
  </plist>
data/Example/Podfile CHANGED
@@ -1,8 +1,51 @@
1
+ # Autogenerated by PodBuilder (https://github.com/Subito-it/PodBuilder)
2
+ # Any change to this file should be done on Frameworks/Podfile
3
+
1
4
  platform :ios, '9.0'
2
5
 
3
6
  target 'PodBuilderExample' do
4
7
  use_frameworks!
5
8
 
6
9
  # Pods for PodBuilderExample
7
- pod 'Alamofire'
10
+ pod 'Alamofire', :path => 'Frameworks/Rome' # pb<Alamofire>
11
+ pod 'AFNetworking', :path => 'Frameworks/Rome' # pb<AFNetworking>
12
+ pod 'Loop', :path => 'Frameworks/Rome' # pb<Loop>
13
+ pod 'ReactiveSwift', :path => 'Frameworks/Rome' # pb<Loop>
14
+
15
+ # Firebase
16
+ pod 'Firebase'
17
+ pod 'FirebaseCore', :path => 'Frameworks/Rome' # pb<FirebaseCore>
18
+ pod 'GoogleUtilities', :path => 'Frameworks/Rome' # pb<FirebaseCore>
19
+ pod 'FirebaseCoreDiagnostics', :path => 'Frameworks/Rome' # pb<FirebaseCore>
20
+ pod 'PromisesObjC', :path => 'Frameworks/Rome' # pb<FirebaseCore>
21
+ pod 'GoogleDataTransport', :path => 'Frameworks/Rome' # pb<FirebaseCore>
22
+ pod 'nanopb', :path => 'Frameworks/Rome' # pb<FirebaseCore>
23
+ pod 'FirebaseDatabase', :path => 'Frameworks/Rome' # pb<FirebaseDatabase>
24
+ pod 'leveldb-library', :path => 'Frameworks/Rome' # pb<FirebaseDatabase>
25
+ pod 'GoogleUtilities', :path => 'Frameworks/Rome' # pb<FirebaseDatabase>
26
+ pod 'FirebaseAuth', :path => 'Frameworks/Rome' # pb<FirebaseAuth>
27
+ pod 'GoogleUtilities', :path => 'Frameworks/Rome' # pb<FirebaseAuth>
28
+ pod 'GTMSessionFetcher', :path => 'Frameworks/Rome' # pb<FirebaseAuth>
29
+ pod 'FirebaseFirestore', :path => 'Frameworks/Rome' # pb<FirebaseFirestore>
30
+ pod 'abseil', :path => 'Frameworks/Rome' # pb<FirebaseFirestore>
31
+ pod 'gRPC-C++', :path => 'Frameworks/Rome' # pb<FirebaseFirestore>
32
+ pod 'GoogleUtilities', :path => 'Frameworks/Rome' # pb<FirebaseFirestore>
33
+ pod 'gRPC-Core', :path => 'Frameworks/Rome' # pb<FirebaseFirestore>
34
+ pod 'BoringSSL-GRPC', :path => 'Frameworks/Rome' # pb<FirebaseFirestore>
35
+ pod 'FirebasePerformance'
36
+ pod 'FirebaseCrashlytics', :path => 'Frameworks/Rome' # pb<FirebaseCrashlytics>
37
+ pod 'FirebaseInstallations', :path => 'Frameworks/Rome' # pb<FirebaseCrashlytics>
38
+ pod 'GoogleUtilities', :path => 'Frameworks/Rome' # pb<FirebaseCrashlytics>
39
+ end
40
+
41
+ pre_install do |installer|
42
+ Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_duplicate_framework_and_library_names) {}
43
+
44
+ end
45
+
46
+ post_install do |installer|
47
+ require 'pod_builder/podfile/post_actions'
48
+ PodBuilder::Podfile::remove_target_support_duplicate_entries
49
+ PodBuilder::Podfile::check_target_support_resource_collisions
50
+
8
51
  end