18
Voglio installare AFNetworking ma ho un problema, come posso riparare e installare? Ho usato Getting Started with AFNetworking:La dipendenza `AFNetworking (~> 2.5)` non è utilizzata in nessun obiettivo concreto
1. Scaricare CocoaPods
sudo gem install cocoapods
pod setup
2.a. Creare un Podfile
touch Podfile
open -a Xcode Podfile
2.b. E copia-incolla questo:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
pod 'AFNetworking', '~> 2.5'