I am facing an issue while integrating with AFNetworking (for the first time). I needed to support iOS 6 so I downloaded AFNetworking 2.5.4 framework.
After downloading, I dragged and dropped AFNetworking folder into my project, choose the right targets and selected the option Copy items if needed.
Then in one of my implementation file, I started typing import statement and Xcode showed me all AFNetworking related files and I selected AFNetworking.h
to add #import "AFNetworking.h"
statement.
But, to my surprise, I am getting following compilation error saying AFNetworking.h file not found
.
Any idea what am I missing here?
PS:
1. I do not want to go via Submodule git or Cocoa Pods way.
2. Tried by cleaning the project and re-build.
3. Tried by importing the module - @import AFNetworking
.
Here is how it looks when I add the AFNetworking folder: