cocoapods-podfile_patch
This plugin provide the ability to override podfile in another file.
Place a Podfile.patch at the same directory with Podfile. Configurate the pods
in patchfile just like in Podfile. It will append to original podfile, and override
the settings in podfile if duplicated.
For example:
Podfile:
use_patch_file!
target EVA do
pod "A", "1.5.3", :inhibit_warning => true
pod "B", :path => "some/path"
end
Podfile.patch
target EVA do
pod "A", :path => "path/to/local/A"
end
The final result equal to
target EVA do
pod "A", :path => "path/to/local/A"
pod "B", :path => "some/path"
end
This function is base on the parsed result of podfile. It means you could do ANYTHING you do in podfile, i.e. your custom pod function or other plugins.
Installation
$ gem install cocoapods-podfile_patch
Usage
Just add use_patch_file! in podfile, and make your own Podfile.patch