I installed AFNetworking using cocoapods. And then I included AFNetworking.h file in Prefix.pch file. Now while building my app it shows "AFNetworking.h" file not found error. I think it's an error related to path.
Thanks.
This happened to me when I updated to AFNetworking 2.5.0 from 2.4.1 through Cocoapods.
In XCode go to Product -> Scheme -> Manage Schemes. There delete the project (maintaining the pods) and add the project again. It worked for me.
Hope it helps ;)
for me replacing
#import "AFNetworking.h"
to
#import <AFNetworking/AFNetworking.h>
fix the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With