Je veux installer AFNetworking mais j'ai un problème, comment puis-je réparer et installer? J'ai utilisé Mise en route avec AFNetworking :
1. Télécharger CocoaPods
sudo gem install cocoapods pod setup
2.a. Créer un file pod
touch Podfile open -a Xcode Podfile
2.b. Et copyz-collez ceci:
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' pod 'AFNetworking', '~> 2.5'
Ajouter:
target 'MyApp' do pod 'AFNetworking', '~> 2.5' end
Voir: https://guides.cocoapods.org/using/the-podfile.html
Ensuite, lancez l' pod install
du pod install
depuis le directory du projet.