Reputation: 2207
This just started happening with my project and I have no idea what to do.
I've been using the Parse framework and everything has been fine so far. But now, even though the library is included:
and linked:
I still get a "'Parse/Parse.h' file not found" error when I import it into classes. Even weirder (at least to me), the project still builds and runs. When I build or clean the project, the warning disappears, but then it reappears right away.
Any idea how I can fix this?
Upvotes: 3
Views: 4216
Reputation: 241
For all who have not found issue:
Go to Build settings and search for "Framework Search Paths", then remove everything and put ./ and make it recursive (by double-clicking on it)
IMPORTANT - Don't download Parse framework on Windows and then copy to Mac! inside framework there are some links and while copying they get corrupted. Download the framework directly from Mac and when added to xcode make sure it has "Headers" folder under it in XCode frameworks.
I hope it helps some people.
Upvotes: 6
Reputation: 124
I have the same problem when I use the demo called "TodoTable", and I solve this by deleting the link in target -> Build Phases -> Link Binary With Libraries -> Parse.framework
, and then, adding it again. You may do it by clicking +
button, and choosing Add other...
, then, in the project folder, you can find the Parse.framework
file. After that, rebuilding your project, and it will be ok.
Upvotes: -1
Reputation: 2768
How many targets do you have? If more than one, maybe the debug target doesn't include the framework.
Upvotes: 0
Reputation: 3773
The compiler will search for the header files in a special search path. In your case, it seems that the file "Parse/Parse.h" is not in your compiler's header file search path. Check this in your compiler settings.
Upvotes: 0
Reputation: 324
have you tried by changing the #import "Parse/Parse.h" to #import ?
Upvotes: 0