FABRIC
PODS
INSTALLATION PROCEDURE
pod init
Then open your project's podfile by typing in terminal:
open -a Xcode Podfile
Your Podfile will get open in text mode. Initially there will be some default commands in there. Here is where you add your project's dependencies. For example, in the podfile, type
pod 'AFNetworking', '0.9.1'
(this line is an example of adding the AFNetworking library to your project).
Other tips:
Uncomment platform :ios, '9.0' Uncomment user_frameworks! if you're using Swift
When you are done editing the podfile, save it and close Xcode.
Then install pods into your project by typing in terminal:
pod install
Error while archiving : "clang: error: linker command failed with exit code 1 (use -v to see invocation)"