Adding framework to existing Cocoapods setup
Pregunta
I am working with a project where Cocoapods is used. I am unable to find any documentation for adding a framework to an already existing Cocoapods setup. All I can find are example on how to setup Cocoapods from scratch.
Any help? I'd like to add ABContactHelper via Cocoapods.
Thanks!
Solución
Just add the pod to your Podfile
and run pod install
again.
For ABContactHelper
, do:
edit Podfile
- add
pod 'ABContactHelper'
to the Podfile pod install
Otros consejos
and don't forget to close the workspace in xCode before doing 'pod install', because if you don't, you can loose all your not saved changes, as xCode will ask you to revert the workspace to the version saved on disk. Yes, I did it once ;)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow