title: How to stop react-native link from linking a library with CocoaPods with it has a podspec?
body: <p>I need to use CocoaPods for a specific library. However I don't want to use it for any other because it usually forces me to add React and its dependencies to the Podfile as well, which is a nuisance and can lead to several issues as in previous experiences.</p>
  
  <p>In React Native documentation (<a href="https://facebook.github.io/react-native/docs/linking-libraries-ios" rel="noreferrer">https://facebook.github.io/react-native/docs/linking-libraries-ios</a>) it is specifically said:</p>
  
  <blockquote>
    <p>If your iOS project is using CocoaPods (contains Podfile) and linked
    library has podspec file, then react-native link will link library
    using Podfile. To support non-trivial Podfiles add # Add new pods
    below this line comment to places where you expect pods to be added.</p>
  </blockquote>
  
  <p>Is there any way to prevent this? If not, what is the best Podfile configuration that doesn't break (when RN is updated for example)?</p>