Skip to content

Creating a project that uses CocoaPods

alloy edited this page Sep 13, 2011 · 32 revisions

Preliminary version of the basic usage howto.

In Xcode:

  • Create workspace
  • Add new app project

Outside Xcode:

  • Create Podfile with dependencies
  • Run pod install

In Xcode:

  • Add Pods static library project to workspace
  • Edit scheme:
    • Enable Find Implicit Dependencies
    • build => add libPods.a to targets
  • Add libPods.a to: targets => build phases => link with libraries.
  • Change app's target configurations to be based on Pods/Pods.xcconfig

Is that it?

Info: http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4/