Reputation: 31
I am using AFNetworking
via Cocoapods
. Here is the version of the AFNetworking :
pod 'AFNetworking', '~> 2.0'
The project currently runs on my working Mac. But when I move to project on another Mac I see this error.
AFNetworking.h file not found error
in AFHTTPRequestOperationManager.h
class.
Upvotes: 3
Views: 1623
Reputation: 2092
Remove the followings .
Pods folder , Podfile.lock , Projectname.xcworkspace
write
pod 'AFNetworking', '2.0'
instead of
'AFNetworking', '~> 2.0'
in your podfile .
then install the pod again .
Upvotes: 2