In the directory if the xcodeproj, create a new file called Podfile. The following is an example of a Podfile that installs the pod 'AFNetworking' version 1.0 to the app MyApp.
target 'MyApp' pod 'AFNetworking', '~> 1.0'