- Assume you've already have a normal Xcode project
- Open terminal window, $ cd to your project directory
- Create a Podfile by runing $ pod init
- Edit the Podfile to add any liberties you want to install within certain target
- Make sure to uncomment use_frameworks if it's a Swift project
- Run $ pod install
- An xcworkspace project should be created, please use it to load your project moving forwards
Wednesday, March 16, 2016
Setup CocoaPods for Swift project
Cocoa Pods provides a standard way to manage dependent libraries. It only takes a few steps to set it up in a Swift project:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment