Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode file not found

Tags:

xcode

ios

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.

like image 430
jpd Avatar asked Oct 18 '13 10:10

jpd


People also ask

How do I fix Xcode file not found?

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).

How do I add missing files to Xcode?

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.

Where is the Xcode folder on Mac?

It should by located in: ~/Library/Developer/Xcode/DerivedData .


1 Answers

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.

enter image description here

Clean Your iOS project And then Build Again.

enter image description here

like image 139
Buntylm Avatar answered Sep 20 '22 12:09

Buntylm