Module: Pod::Podfile::DSL
- Defined in:
- lib/cocoapods-project-hmap/podfile_dsl.rb
Instance Method Summary collapse
- #set_hmap_black_pod_list(pods) ⇒ Object
-
#set_hmap_use_strict_mode ⇒ Object
if use strict mode, main project can only use ‘#import <PodTargetName/SomeHeader.h>` `#import <SomeHeader.h>` will get ’file not found’ error as well as PodTarget dependent on other PodTarget.
-
#turn_prebuilt_hmap_off_for_pod_targets ⇒ Object
turn off prebuilt hmap for targets in pod project except the ‘main` target.
Instance Method Details
#set_hmap_black_pod_list(pods) ⇒ Object
12 13 14 15 16 |
# File 'lib/cocoapods-project-hmap/podfile_dsl.rb', line 12 def set_hmap_black_pod_list(pods) if pods != nil && pods.size() > 0 $hmap_black_pod_list.concat(pods) end end |
#set_hmap_use_strict_mode ⇒ Object
if use strict mode, main project can only use ‘#import <PodTargetName/SomeHeader.h>` `#import <SomeHeader.h>` will get ’file not found’ error as well as PodTarget dependent on other PodTarget
20 21 22 |
# File 'lib/cocoapods-project-hmap/podfile_dsl.rb', line 20 def set_hmap_use_strict_mode $strict_mode = true end |
#turn_prebuilt_hmap_off_for_pod_targets ⇒ Object
turn off prebuilt hmap for targets in pod project except the ‘main` target
24 25 26 |
# File 'lib/cocoapods-project-hmap/podfile_dsl.rb', line 24 def turn_prebuilt_hmap_off_for_pod_targets $prebuilt_hmap_for_pod_targets = false end |