Reputation: 1684
Cocoapods is not installing all the files in AFNetworking 2.6.0 on an existing project. See attached images. The other two pods, ECSlidingViewController and DateTools, installed just fine.
Any suggestions on how to resolve the missing files upon pod install
of AFNetworking on new setups?
Podfile:
platform :ios, '7.0'
pod 'AFNetworking'
pod 'ECSlidingViewController', '~> 2.0'
pod 'DateTools'
Podfile.lock:
Pod install on new setup:
These are the only AFNetworking files installed on a new system of the existing project. It's missing folders/files - NSURLSession, Reachability, Security, and Serialization.
Existing project:
These are all the AFNetworking files that are installed on an existing project.
Using Xcode 7.2, pod version 0.38.2, OS X Yosemite.
Upvotes: 0
Views: 496
Reputation: 1684
I resolved this by deleting Podfile.lock, and setting a 2.6.x versions only for AFNetworking. This caused cocoapods to install AFNetworking v2.6.3 and all necessary files were installed! Might have been a bug with v2.6.0.
Upvotes: 0