-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Creating a project that uses CocoaPods
alloy edited this page Sep 13, 2011
·
32 revisions
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
- Enable
- 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/