ios - Is it possible to exclude dependency in Cocoapods? -
firebase/messaging have dependencies on:
using firebase using firebaseanalytics using firebasecore using firebaseinstanceid using firebasemessaging using googleinterchangeutilities using googlesymbolutilities using googletoolboxformac
i know possible exclude googletoolboxformac
? problem have 1 static library included use googletoolboxformac
without cocoapods.
so want know possible or not?
assuming version of googletoolboxformac date enough satisfy firebase/messaging's requirements, following:
- find xcconfig files each of build schemes: find . | grep xcconfig
- edit them , remove following 3 strings:
- "$pods_configuration_build_dir/googletoolboxformac"
- -iquote "$pods_configuration_build_dir/googletoolboxformac/googletoolboxformac.framework/headers"
- -framework "googletoolboxformac"
you'll have redo whenever pod update
however, @valentin says, not recommended. better remove googletoolboxformac building existing static library , depend on cocoapod satisfy googletoolboxformac dependencies.
Comments
Post a Comment