I am facing an error of file not found.
I have added all necessary files, but it gives file not found for a file.
#import "MagickWand.h"
for above file it gives error.
#import "FrameSection.h"
#import "FreeCropIphone5.h"
#import "DoodleView.h"
Please help me.
I was facing this error after a merge from the repository (git). The final solution was: Delete the files from the xcode project navigator (only deleting references). Add them again to the project (dragging from finder into the project navigator).
Select all the missing files that are in one folder in Finder. Click the choose file button; it is under the Location drop down menu; it is an image that looks like a very small window with a document inside it. A Choose folder containing the selected references sheet should appear. Save this answer.
It should by located in: ~/Library/Developer/Xcode/DerivedData .
NOTE
As According to this kind of problem the reason may be sometime due to cyclic import
. means like you have a file with the name first.h
and you importing second.h
and in second.h
you importing first.h
and you not including first.h
.
Try these steps hope this will help you.
target of project
-> Build Phases
-> Compile Sources
->
delete the [found filename that cause the error in program].m
Add it back again in you project.
Clean
Your iOS project And then Build
Again.
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