Chip Snyder Chip Snyder - 7 months ago 44
Ruby Question

Cocoapods no integrate in Pod file

So I have multiple projects all of which use cocoapods. For one of the projects we need to use the

--no-integrate
flag I was wondering can we move this declaration to the podfile some how so we don't have to remember the difference every time we go into that file.

Answer

In the CocoaPods 1.0 betas, you can use:

install! 'cocoapods', :integrate_targets => false

In your Podfile.