Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

library linked but Xcode says "file not found."

Tags:

xcode

ios

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:

enter image description here

and linked:

enter image description here

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?

like image 919
Joel Derfner Avatar asked Dec 04 '25 22:12

Joel Derfner


1 Answers

For all who have not found issue:

  1. Go to Build settings and search for "Framework Search Paths", then remove everything and put ./ and make it recursive (by double-clicking on it)

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

like image 198
Artin Avatar answered Dec 06 '25 14:12

Artin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!