Class: Pod::InstallerTal
- Defined in:
- lib/cocoapods-install_tal/src/installer_tal.rb
Instance Method Summary collapse
-
#initialize(sandbox, podfile, lockfile = nil, auto_fix_conflict = true) ⇒ InstallerTal
constructor
A new instance of InstallerTal.
- #install! ⇒ Object
- #validate_targets_remove_confilict ⇒ Object
Constructor Details
#initialize(sandbox, podfile, lockfile = nil, auto_fix_conflict = true) ⇒ InstallerTal
Returns a new instance of InstallerTal.
3 4 5 6 7 8 9 10 11 |
# File 'lib/cocoapods-install_tal/src/installer_tal.rb', line 3 def initialize(sandbox, podfile, lockfile = nil, auto_fix_conflict = true) @sandbox = sandbox @podfile = podfile @lockfile = lockfile @auto_fix_conflict = auto_fix_conflict @use_default_plugins = true @has_dependencies = true end |
Instance Method Details
#install! ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/cocoapods-install_tal/src/installer_tal.rb', line 13 def install! prepare resolve_dependencies download_dependencies validate_targets_remove_confilict generate_pods_project if .integrate_targets? integrate_user_project else UI.section 'Skipping User Project Integration' end perform_post_install_actions end |
#validate_targets_remove_confilict ⇒ Object
27 28 29 30 |
# File 'lib/cocoapods-install_tal/src/installer_tal.rb', line 27 def validate_targets_remove_confilict validator = Xcode::TargetValidatorTal.new(aggregate_targets, pod_targets, @auto_fix_conflict) validator.validate! end |