pod-builder 2.0.0.beta.19 → 2.0.0.beta.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -2
  3. data/Example/{Frameworks → PodBuilder}/.gitignore +0 -0
  4. data/Example/{Frameworks → PodBuilder}/.pod_builder/pod_builder +0 -0
  5. data/Example/{Frameworks → PodBuilder}/PodBuilder.json +0 -0
  6. data/Example/{Frameworks → PodBuilder}/Podfile +0 -0
  7. data/Example/{Frameworks → PodBuilder}/Podfile.restore +0 -0
  8. data/Example/Podfile +27 -29
  9. data/Example/Podfile.lock +42 -42
  10. data/README.md +13 -13
  11. data/exe/pod_builder +27 -16
  12. data/lib/pod_builder/command/build.rb +28 -159
  13. data/lib/pod_builder/command/build_all.rb +2 -2
  14. data/lib/pod_builder/command/clean.rb +34 -53
  15. data/lib/pod_builder/command/clear_lldbinit.rb +6 -2
  16. data/lib/pod_builder/command/deintegrate.rb +27 -6
  17. data/lib/pod_builder/command/generate_lfs.rb +1 -1
  18. data/lib/pod_builder/command/generate_podspec.rb +3 -2
  19. data/lib/pod_builder/command/info.rb +1 -1
  20. data/lib/pod_builder/command/init.rb +37 -14
  21. data/lib/pod_builder/command/install_sources.rb +20 -13
  22. data/lib/pod_builder/command/none.rb +2 -2
  23. data/lib/pod_builder/command/restore_all.rb +4 -4
  24. data/lib/pod_builder/command/switch.rb +56 -14
  25. data/lib/pod_builder/command/sync_podfile.rb +3 -2
  26. data/lib/pod_builder/command/update.rb +5 -6
  27. data/lib/pod_builder/command/update_lldbinit.rb +10 -8
  28. data/lib/pod_builder/configuration.rb +27 -7
  29. data/lib/pod_builder/core.rb +35 -9
  30. data/lib/pod_builder/info.rb +11 -11
  31. data/lib/pod_builder/install.rb +178 -184
  32. data/lib/pod_builder/licenses.rb +4 -4
  33. data/lib/pod_builder/podfile.rb +226 -85
  34. data/lib/pod_builder/podfile/post_actions.rb +9 -14
  35. data/lib/pod_builder/podfile_cp.rb +93 -0
  36. data/lib/pod_builder/podfile_item.rb +41 -20
  37. data/lib/pod_builder/podspec.rb +33 -16
  38. data/lib/pod_builder/rome/post_install.rb +121 -129
  39. data/lib/pod_builder/rome/pre_install.rb +1 -1
  40. data/lib/pod_builder/templates/build_podfile.template +2 -2
  41. data/lib/pod_builder/version.rb +1 -1
  42. metadata +8 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c06b4ecc3c8c722ab6166226bc5337951f42f97495a7fc6b0ba48e7c9c9a3079
4
- data.tar.gz: b3f10ca75dcc9274897356e17960da284130edd7d883718a382a7846172db1b5
3
+ metadata.gz: 38b88a4295edaa11ff7dd4f13ee2bce7cdef29f01f7b1784b619d99e670bdc57
4
+ data.tar.gz: 07dff8cb7ef9f8ece6b484f3310d747ff379ca93763cac482c57a1bcfe17d493
5
5
  SHA512:
6
- metadata.gz: 5d8b859e774be7793aba56f08e883d53ad5dddad9be6feed13330a0a047661e5de382afc439b9c5beb497a8f58c3859a3fc59863d52258dba41cdd43b1bcc55e
7
- data.tar.gz: 68dc2d069a5e92357b23af3f01bbb419b44c04682600cd39c3b14445027fe49278f9f3c8f7387018f35478c5841edc16406bdb1fe56764462e0d5d194c71880d
6
+ metadata.gz: 3f7eae835712373a68c7ee54b12c8b3d7af9777abe4b96bdc179600c47d34f598c4d85c46e02f5af2da682953eb8766889e1cf2e7b86b8274ab73e8e0a617b50
7
+ data.tar.gz: c9e2c614bdd38c806f1818ed89e8371211ae5547eaab7cd07950a922397e13583c2df338d78c595f7ee316b1b3554bb38705e13110d6d898e07e5fcc5350d634
data/.gitignore CHANGED
@@ -10,9 +10,9 @@ Gemfile.lock
10
10
  .vscode/
11
11
  .DS_Store
12
12
  Example/Pods
13
- Example/Frameworks/Rome
13
+ Example/PodBuilder/Prebuilt
14
14
 
15
- Example/Frameworks/dSYM
15
+ Example/PodBuilder/dSYM
16
16
 
17
17
  Example/PodBuilderExample.xcodeproj/xcuserdata/*.xcuserdatad
18
18
  Example/PodBuilderExample.xcworkspace/xcuserdata
@@ -1,5 +1,5 @@
1
1
  # Autogenerated by PodBuilder (https://github.com/Subito-it/PodBuilder)
2
- # Any change to this file should be done on Frameworks/Podfile
2
+ # Any change to this file should be done on PodBuilder/Podfile
3
3
 
4
4
  platform :ios, '9.0'
5
5
 
@@ -7,35 +7,35 @@ target 'PodBuilderExample' do
7
7
  use_frameworks!
8
8
 
9
9
  # Pods for PodBuilderExample
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>
10
+ pod 'Alamofire', :path => 'PodBuilder/Prebuilt' # pb<Alamofire>
11
+ pod 'AFNetworking', :path => 'PodBuilder/Prebuilt' # pb<AFNetworking>
12
+ pod 'Loop', :path => 'PodBuilder/Prebuilt' # pb<Loop>
13
+ pod 'ReactiveSwift', :path => 'PodBuilder/Prebuilt' # pb<Loop>
14
14
 
15
15
  # Firebase
16
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>
17
+ pod 'FirebaseCore', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCore>
18
+ pod 'GoogleUtilities', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCore>
19
+ pod 'FirebaseCoreDiagnostics', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCore>
20
+ pod 'PromisesObjC', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCore>
21
+ pod 'GoogleDataTransport', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCore>
22
+ pod 'nanopb', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCore>
23
+ pod 'FirebaseDatabase', :path => 'PodBuilder/Prebuilt' # pb<FirebaseDatabase>
24
+ pod 'leveldb-library', :path => 'PodBuilder/Prebuilt' # pb<FirebaseDatabase>
25
+ pod 'GoogleUtilities', :path => 'PodBuilder/Prebuilt' # pb<FirebaseDatabase>
26
+ pod 'FirebaseAuth', :path => 'PodBuilder/Prebuilt' # pb<FirebaseAuth>
27
+ pod 'GoogleUtilities', :path => 'PodBuilder/Prebuilt' # pb<FirebaseAuth>
28
+ pod 'GTMSessionFetcher', :path => 'PodBuilder/Prebuilt' # pb<FirebaseAuth>
29
+ pod 'FirebaseFirestore', :path => 'PodBuilder/Prebuilt' # pb<FirebaseFirestore>
30
+ pod 'abseil', :path => 'PodBuilder/Prebuilt' # pb<FirebaseFirestore>
31
+ pod 'gRPC-C++', :path => 'PodBuilder/Prebuilt' # pb<FirebaseFirestore>
32
+ pod 'GoogleUtilities', :path => 'PodBuilder/Prebuilt' # pb<FirebaseFirestore>
33
+ pod 'gRPC-Core', :path => 'PodBuilder/Prebuilt' # pb<FirebaseFirestore>
34
+ pod 'BoringSSL-GRPC', :path => 'PodBuilder/Prebuilt' # pb<FirebaseFirestore>
35
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>
36
+ pod 'FirebaseCrashlytics', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCrashlytics>
37
+ pod 'FirebaseInstallations', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCrashlytics>
38
+ pod 'GoogleUtilities', :path => 'PodBuilder/Prebuilt' # pb<FirebaseCrashlytics>
39
39
  end
40
40
 
41
41
  pre_install do |installer|
@@ -45,7 +45,5 @@ end
45
45
 
46
46
  post_install do |installer|
47
47
  require 'pod_builder/podfile/post_actions'
48
- PodBuilder::Podfile::remove_target_support_duplicate_entries
49
- PodBuilder::Podfile::check_target_support_resource_collisions
50
-
48
+ PodBuilder::Podfile::pod_builder_post_process
51
49
  end
@@ -320,29 +320,29 @@ PODS:
320
320
  - ReactiveSwift (6.3.0)
321
321
 
322
322
  DEPENDENCIES:
323
- - abseil (from `Frameworks/Rome`)
324
- - AFNetworking (from `Frameworks/Rome`)
325
- - Alamofire (from `Frameworks/Rome`)
326
- - BoringSSL-GRPC (from `Frameworks/Rome`)
323
+ - abseil (from `PodBuilder/Prebuilt`)
324
+ - AFNetworking (from `PodBuilder/Prebuilt`)
325
+ - Alamofire (from `PodBuilder/Prebuilt`)
326
+ - BoringSSL-GRPC (from `PodBuilder/Prebuilt`)
327
327
  - Firebase
328
- - FirebaseAuth (from `Frameworks/Rome`)
329
- - FirebaseCore (from `Frameworks/Rome`)
330
- - FirebaseCoreDiagnostics (from `Frameworks/Rome`)
331
- - FirebaseCrashlytics (from `Frameworks/Rome`)
332
- - FirebaseDatabase (from `Frameworks/Rome`)
333
- - FirebaseFirestore (from `Frameworks/Rome`)
334
- - FirebaseInstallations (from `Frameworks/Rome`)
328
+ - FirebaseAuth (from `PodBuilder/Prebuilt`)
329
+ - FirebaseCore (from `PodBuilder/Prebuilt`)
330
+ - FirebaseCoreDiagnostics (from `PodBuilder/Prebuilt`)
331
+ - FirebaseCrashlytics (from `PodBuilder/Prebuilt`)
332
+ - FirebaseDatabase (from `PodBuilder/Prebuilt`)
333
+ - FirebaseFirestore (from `PodBuilder/Prebuilt`)
334
+ - FirebaseInstallations (from `PodBuilder/Prebuilt`)
335
335
  - FirebasePerformance
336
- - GoogleDataTransport (from `Frameworks/Rome`)
337
- - GoogleUtilities (from `Frameworks/Rome`)
338
- - "gRPC-C++ (from `Frameworks/Rome`)"
339
- - gRPC-Core (from `Frameworks/Rome`)
340
- - GTMSessionFetcher (from `Frameworks/Rome`)
341
- - leveldb-library (from `Frameworks/Rome`)
342
- - Loop (from `Frameworks/Rome`)
343
- - nanopb (from `Frameworks/Rome`)
344
- - PromisesObjC (from `Frameworks/Rome`)
345
- - ReactiveSwift (from `Frameworks/Rome`)
336
+ - GoogleDataTransport (from `PodBuilder/Prebuilt`)
337
+ - GoogleUtilities (from `PodBuilder/Prebuilt`)
338
+ - "gRPC-C++ (from `PodBuilder/Prebuilt`)"
339
+ - gRPC-Core (from `PodBuilder/Prebuilt`)
340
+ - GTMSessionFetcher (from `PodBuilder/Prebuilt`)
341
+ - leveldb-library (from `PodBuilder/Prebuilt`)
342
+ - Loop (from `PodBuilder/Prebuilt`)
343
+ - nanopb (from `PodBuilder/Prebuilt`)
344
+ - PromisesObjC (from `PodBuilder/Prebuilt`)
345
+ - ReactiveSwift (from `PodBuilder/Prebuilt`)
346
346
 
347
347
  SPEC REPOS:
348
348
  trunk:
@@ -357,47 +357,47 @@ SPEC REPOS:
357
357
 
358
358
  EXTERNAL SOURCES:
359
359
  abseil:
360
- :path: Frameworks/Rome
360
+ :path: PodBuilder/Prebuilt
361
361
  AFNetworking:
362
- :path: Frameworks/Rome
362
+ :path: PodBuilder/Prebuilt
363
363
  Alamofire:
364
- :path: Frameworks/Rome
364
+ :path: PodBuilder/Prebuilt
365
365
  BoringSSL-GRPC:
366
- :path: Frameworks/Rome
366
+ :path: PodBuilder/Prebuilt
367
367
  FirebaseAuth:
368
- :path: Frameworks/Rome
368
+ :path: PodBuilder/Prebuilt
369
369
  FirebaseCore:
370
- :path: Frameworks/Rome
370
+ :path: PodBuilder/Prebuilt
371
371
  FirebaseCoreDiagnostics:
372
- :path: Frameworks/Rome
372
+ :path: PodBuilder/Prebuilt
373
373
  FirebaseCrashlytics:
374
- :path: Frameworks/Rome
374
+ :path: PodBuilder/Prebuilt
375
375
  FirebaseDatabase:
376
- :path: Frameworks/Rome
376
+ :path: PodBuilder/Prebuilt
377
377
  FirebaseFirestore:
378
- :path: Frameworks/Rome
378
+ :path: PodBuilder/Prebuilt
379
379
  FirebaseInstallations:
380
- :path: Frameworks/Rome
380
+ :path: PodBuilder/Prebuilt
381
381
  GoogleDataTransport:
382
- :path: Frameworks/Rome
382
+ :path: PodBuilder/Prebuilt
383
383
  GoogleUtilities:
384
- :path: Frameworks/Rome
384
+ :path: PodBuilder/Prebuilt
385
385
  "gRPC-C++":
386
- :path: Frameworks/Rome
386
+ :path: PodBuilder/Prebuilt
387
387
  gRPC-Core:
388
- :path: Frameworks/Rome
388
+ :path: PodBuilder/Prebuilt
389
389
  GTMSessionFetcher:
390
- :path: Frameworks/Rome
390
+ :path: PodBuilder/Prebuilt
391
391
  leveldb-library:
392
- :path: Frameworks/Rome
392
+ :path: PodBuilder/Prebuilt
393
393
  Loop:
394
- :path: Frameworks/Rome
394
+ :path: PodBuilder/Prebuilt
395
395
  nanopb:
396
- :path: Frameworks/Rome
396
+ :path: PodBuilder/Prebuilt
397
397
  PromisesObjC:
398
- :path: Frameworks/Rome
398
+ :path: PodBuilder/Prebuilt
399
399
  ReactiveSwift:
400
- :path: Frameworks/Rome
400
+ :path: PodBuilder/Prebuilt
401
401
 
402
402
  SPEC CHECKSUMS:
403
403
  abseil: 38dd06f1a1c46a8077431abb08d5ee08e3c47ddb
data/README.md CHANGED
@@ -19,7 +19,7 @@ You can the initialize your project to use the tool using the `init` command
19
19
  $ cd path-to-your-repo;
20
20
  $ pod_builder init
21
21
 
22
- This will add a _Frameworks_ folder which will contain all files needed and generated by the PodBuilder.
22
+ This will add a _PodBuilder_ folder which will contain all files needed and generated by the PodBuilder.
23
23
 
24
24
  To prebuild all dependencies run
25
25
 
@@ -35,7 +35,7 @@ Should PodBuilder not work the way you expect you can get rid of it by running
35
35
 
36
36
  $ pod_builder deintegrate
37
37
 
38
- Which will restore all changes that PodBUilder applied to the project (the Frameworks folder and the changes to the Podfile).
38
+ Which will restore all changes that PodBUilder applied to the project (the PodBuilder folder and the changes to the Podfile).
39
39
 
40
40
  # Usage
41
41
 
@@ -43,7 +43,7 @@ Which will restore all changes that PodBUilder applied to the project (the Frame
43
43
 
44
44
  The workflow is very similar to the one you're used to with CocoaPods. The most significant difference is that PodBuilder relies on 3 Podfiles:
45
45
 
46
- ### 1. Frameworks/Podfile (aka PodBuilder-Podfile)
46
+ ### 1. PodBuilder/Podfile (aka PodBuilder-Podfile)
47
47
 
48
48
  This is your original Podfile and remains your **master Podfile** that you will update as needed. It is used by PodBuilder to determine which versions and dependencies need to be compiled when prebuilding.
49
49
 
@@ -51,7 +51,7 @@ This is your original Podfile and remains your **master Podfile** that you will
51
51
 
52
52
  Based on the one above but will replace precompiled frameworks with references to the local PodBuilder podspec. **It is autogenerated and shouldn't be manually changed**
53
53
 
54
- ### 3. Frameworks/Podfile.restore (aka Restore-Podfile)
54
+ ### 3. PodBuilder/Podfile.restore (aka Restore-Podfile)
55
55
 
56
56
  This acts as a sort of lockfile and reflects the current state of what is installed in the application, pinning pods to a particular tag or commit. This will be particularly useful until Swift reaches ABI stability, because when you check out an old revision of your code you won't be able to get your project running unless the Swift frameworks were compiled with a same version of Xcode you're currently using. This file is used internally by PodBuilder and shouldn't be manually changed. **It is autogenerated and shouldn't be manually changed**
57
57
 
@@ -79,8 +79,8 @@ This will sets up a project to use PodBuilder.
79
79
 
80
80
  The following will happen:
81
81
 
82
- - Create a _Frameworks_ folder in your repo's root.
83
- - Copy your original Podfile to _Frameworks/Podfile_ (PodBuilder-Podfile)
82
+ - Create a _PodBuilder_ folder in your repo's root.
83
+ - Copy your original Podfile to _PodBuilder/Podfile_ (PodBuilder-Podfile)
84
84
  - Add an initially empty _PodBuilder.json_ configuration file
85
85
  - Modify the original Podfile (Application-Podfile) with some minor customizations
86
86
  - Create/Update your Gemfile adding the `gem 'pod-builder'` entry
@@ -95,7 +95,7 @@ Running `pod_builder build [pod name]` will precompile the pod that should be in
95
95
 
96
96
  The following will happen:
97
97
 
98
- - Create one or more (if there are dependencies) _.framework_ file/s under _Frameworks/Rome_ along with its corresponding _dSYM_ files (if applicable)
98
+ - Create one or more (if there are dependencies) _.framework_ file/s under _PodBuilder/Prebuilt_ along with its corresponding _dSYM_ files (if applicable)
99
99
  - Update the Application-Podfile replacing the pod definition with the precompiled ones
100
100
  - Update/create the Podfile.restore (Restore-Podfile)
101
101
  - Update/create PodBuilder.podspec which is a local podspec for your prebuilt frameworks (more on this later)
@@ -108,7 +108,7 @@ As `build` but will prebuild all pods defined in PodBuilder-Podfile.
108
108
 
109
109
  #### `update` command
110
110
 
111
- If you decide not to commit the _Rome_ and _dSYM_ folders you can use this command to rebuild all those frameworks that are out-of-sync with the Restore-Podfile or that were built with a different version of the Swift compiler.
111
+ If you decide not to commit the _Prebuilt_ and _dSYM_ folders you can use this command to rebuild all those frameworks that are out-of-sync with the Restore-Podfile or that were built with a different version of the Swift compiler.
112
112
 
113
113
  #### `restore_all` command
114
114
 
@@ -116,7 +116,7 @@ Will recompile all pods to the versions defined in the Restore-Podfile. You woul
116
116
 
117
117
  #### `install_sources` command
118
118
 
119
- When using PodBuilder you loose ability to directly access to the source code of a pod. To overcome this limitation you can use this command which downloads the pod's source code to _Frameworks/Sources_ and with some [tricks](https://medium.com/@t.camin/debugging-prebuilt-frameworks-c9f52d42600b) restores the ability to use the debugger and step into the code of your prebuilt dependencies. This can be very helpful to catch the exact location of a crash when it occurs (showing something more useful than assembly code). It is however advisable to switch to the original pod when doing any advanced debugging during development of code that involves a pod.
119
+ When using PodBuilder you loose ability to directly access to the source code of a pod. To overcome this limitation you can use this command which downloads the pod's source code to _PodBuilder/Sources_ and with some [tricks](https://medium.com/@t.camin/debugging-prebuilt-frameworks-c9f52d42600b) restores the ability to use the debugger and step into the code of your prebuilt dependencies. This can be very helpful to catch the exact location of a crash when it occurs (showing something more useful than assembly code). It is however advisable to switch to the original pod when doing any advanced debugging during development of code that involves a pod.
120
120
 
121
121
  #### `update_lldbinit` command
122
122
 
@@ -139,7 +139,7 @@ Using the switch command you can choose to integrate it:
139
139
  - development. The _Development Pod_ used by CocoaPods
140
140
  - prebuilt. Use the prebuilt pod
141
141
 
142
- To support development pods you should specify the path(s) that contain the pods sources in _Frameworks/PodBuilderDevPodsPaths.json_ as follows
142
+ To support development pods you should specify the path(s) that contain the pods sources in _PodBuilder/PodBuilderDevPodsPaths.json_ as follows
143
143
 
144
144
  ```json
145
145
  [
@@ -310,7 +310,7 @@ Normally when multiple subspecs are specified in a target a single framework is
310
310
 
311
311
  #### `lfs_update_gitattributes` 
312
312
 
313
- Adds a _.gitattributes_ to _Frameworks/Rome_ and _Frameworks/dSYM_ to exclude large files. If `lfs_include_pods_folder` is true it will add a the same _.gitattributes_ to the application's _Pods_ folder as well.
313
+ Adds a _.gitattributes_ to _PodBuilder/Prebuilt_ and _PodBuilder/dSYM_ to exclude large files. If `lfs_include_pods_folder` is true it will add a the same _.gitattributes_ to the application's _Pods_ folder as well.
314
314
 
315
315
 
316
316
  #### `lfs_include_pods_folder`
@@ -329,7 +329,7 @@ If set to true built frameworks will include iPhone simulator slices for Apple s
329
329
 
330
330
  # Behind the scenes
331
331
 
332
- PodBuilder leverages CocoaPods code and [cocoapods-rome plugin](https://github.com/CocoaPods/Rome) to compile pods into frameworks. Every compiled framework will be boxed (by adding it as a `vendored_framework`) as a subspec of a local podspec. When needed additional settings will be automatically ported from the original podspec, like for example xcconfig settings.
332
+ PodBuilder leverages CocoaPods code and [cocoapods-rome plugin](https://github.com/CocoaPods/Prebuilt) to compile pods into frameworks. Every compiled framework will be boxed (by adding it as a `vendored_framework`) as a subspec of a local podspec. When needed additional settings will be automatically ported from the original podspec, like for example xcconfig settings.
333
333
 
334
334
  # FAQ
335
335
 
@@ -365,7 +365,7 @@ Relaunch the build command passing `-d`, this won't delete the temporary _/tmp/p
365
365
 
366
366
  ### **Do I need to commit compiled frameworks?**
367
367
 
368
- No. If the size of compiled frameworks in your repo is a concern (and for whatever reason you can't use [Git-LFS](#git-lfs)) you can choose add the _Rome_ and _dSYM_ folder to .gitignore and run `pod_builder update` to rebuild all frameworks that need to be recompiled.
368
+ No. If the size of compiled frameworks in your repo is a concern (and for whatever reason you can't use [Git-LFS](#git-lfs)) you can choose add the _Prebuilt_ and _dSYM_ folder to .gitignore and run `pod_builder update` to rebuild all frameworks that need to be recompiled.
369
369
 
370
370
 
371
371
  ### **I get an _'attempt to read non existent folder `/private/tmp/pod_builder/Pods/ podname'_ when building**
@@ -36,15 +36,15 @@ Command:
36
36
  + deintegrate Deintegrate prebuild folders
37
37
  + build Build a specific pod declared in the PodBuilder-Podfile
38
38
  + build_all Build all pods declared in the PodBuilder-Podfile
39
- + update Rebuild frameworks that are outdated
39
+ + update Rebuild items that are outdated
40
40
  + restore_all Rebuild all pods declared in the Restore-Podfile
41
- + install_sources Install sources of pods to debug into prebuilt frameworks
42
- + update_lldbinit Generate an lldbinit file with setting target.source-map to debug prebuilt frameworks
41
+ + install_sources Install sources of pods to debug into prebuilt items
42
+ + update_lldbinit Generate an lldbinit file with setting target.source-map to debug prebuilt items
43
43
  + clear_lldbinit Clear an lldbinit file from PodBuilder's customizations
44
44
  + switch Switch between prebuilt/development/standard pod in the Application-Podfile
45
- + clean Remove prebuild frameworks, dSYMs and source files added by `install_sources` command that are no longer in the PodBuilder-Podfile
45
+ + clean Remove prebuild items, dSYMs and source files added by `install_sources` command that are no longer in the PodBuilder-Podfile
46
46
  + sync_podfile Update your Application-Podfile with all pods declared in the PodBuilder-Podfile
47
- + info Print json-formatted informations about prebuilt frameworks
47
+ + info Print json-formatted informations about prebuilt items
48
48
 
49
49
  Options:
50
50
  "
@@ -71,7 +71,7 @@ Options:
71
71
  opts.on("-u", "--skip-repo-update", "Skip CocoaPods repo update") do |o|
72
72
  OPTIONS[:update_repos] = false
73
73
  end
74
- opts.on("-f", "--force", "Rebuild frameworks evan if no code change is detected") do |o|
74
+ opts.on("-f", "--force", "Rebuild items even when no code change is detected") do |o|
75
75
  OPTIONS[:force_rebuild] = false
76
76
  end
77
77
  opts.on("-w", "--allow-warnings", "Allow warnings") do |o|
@@ -103,7 +103,7 @@ Options:
103
103
  opts.on("-u", "--skip-repo-update", "Skip CocoaPods repo update") do |o|
104
104
  OPTIONS[:update_repos] = false
105
105
  end
106
- opts.on("-f", "--force", "Rebuild frameworks evan if no code change is detected") do |o|
106
+ opts.on("-f", "--force", "Rebuild items even when no code change is detected") do |o|
107
107
  OPTIONS[:force_rebuild] = false
108
108
  end
109
109
  opts.on("-w", "--allow-warnings", "Allow warnings") do |o|
@@ -125,7 +125,7 @@ Usage:
125
125
 
126
126
  $ pod_builder update [OPTIONS]
127
127
 
128
- Rebuild frameworks that are outdated
128
+ Rebuild items that are outdated
129
129
 
130
130
  Options:
131
131
  "
@@ -135,7 +135,7 @@ Options:
135
135
  opts.on("-w", "--allow-warnings", "Allow warnings") do |o|
136
136
  OPTIONS[:allow_warnings] = o
137
137
  end
138
- opts.on("-r", "--dry", "Determine which frameworks need update") do |o|
138
+ opts.on("-r", "--dry", "Determine which items need to be updated") do |o|
139
139
  OPTIONS[:dry_run] = o
140
140
  end
141
141
  opts.on("-d", "--debug", "Don't clean build folder") do |o|
@@ -230,10 +230,13 @@ Usage:
230
230
 
231
231
  $ pod_builder clean
232
232
 
233
- Remove unused framework, dSYM and source folders.
233
+ Remove unused prebuild data, dSYM and source folders.
234
234
 
235
235
  Options:
236
- "
236
+ "
237
+ opts.on("-u", "--skip-repo-update", "Skip CocoaPods repo update") do |o|
238
+ OPTIONS[:update_repos] = false
239
+ end
237
240
  end,
238
241
  :call => [
239
242
  PodBuilder::Command::Clean
@@ -247,7 +250,7 @@ Usage:
247
250
 
248
251
  $ pod_builder install_sources
249
252
 
250
- Install source of prebuilt pods to be able to step into and debug framework's code.
253
+ Install source of prebuilt pods to be able to step into and debug prebuilt's code.
251
254
 
252
255
  "
253
256
  end,
@@ -264,9 +267,9 @@ Usage:
264
267
  $ pod_builder update_lldbinit <LLDBINIT_PATH> <PATH>
265
268
 
266
269
  Update LLDBINIT_PATH setting target.source-map in order to be able to step into
267
- and debug prebuilt framework's code.
270
+ and debug prebuilt prebuilt's code.
268
271
 
269
- Specify the PATH of the folder containing the source code of prebuilt frameworks. PATH can be relative to PodBuilder's Framework folder.
272
+ Specify the PATH of the folder containing the source code of prebuilt items. PATH can be relative to PodBuilder's Prebuilt folder.
270
273
 
271
274
  "
272
275
  end,
@@ -310,6 +313,9 @@ Options:
310
313
  opts.on("-s", "--default", "Default version specified in PodBuilder-Podfile") do |o|
311
314
  OPTIONS[:switch_mode] = "default"
312
315
  end
316
+ opts.on("-a", "--all", "Include dependencies") do |o|
317
+ OPTIONS[:switch_all] = true
318
+ end
313
319
  end,
314
320
  :call => [
315
321
  PodBuilder::Command::Switch
@@ -327,7 +333,12 @@ Usage:
327
333
  You may want to run this command when you add a new pod to the PodBuilder-Podfile
328
334
  and you want to integrate it in the project without rebuilding it.
329
335
 
330
- " end,
336
+ Options:
337
+ "
338
+ opts.on("-u", "--skip-repo-update", "Skip CocoaPods repo update") do |o|
339
+ OPTIONS[:update_repos] = false
340
+ end
341
+ end,
331
342
  :call => [
332
343
  PodBuilder::Command::SyncPodfile
333
344
  ]
@@ -367,7 +378,7 @@ Usage:
367
378
 
368
379
  subcommand[:opts].order!
369
380
  subcommand[:call].each do |k|
370
- if (ret = k.call(OPTIONS)) && ret == -1
381
+ if (ret = k.call) && ret == -1
371
382
  puts subcommand[:opts].help
372
383
  end
373
384
  end