سؤال

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!

هل كانت مفيدة؟

المحلول

Just add the pod to your Podfile and run pod install again.

For ABContactHelper, do:

  1. edit Podfile
  2. add pod 'ABContactHelper' to the Podfile
  3. pod install

نصائح أخرى

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 ;)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top