Kev84
Kev84

Reputation: 837

Xcode 5 Header file not found?

I'm new to iOS development, and downloaded a sample project to play with.

The project itself required a the GMGridView library which was NOT included with the download.

So i downloaded the library separately, added the reference ".xcodeproj" to it and crossed my finger and prayed that it'll work.

Obviously it didn't, that's why i'm here.

The error i keep getting is this GMGridView/GMGridView.h file not found.

The file header IS there,

Things that I tried before screaming for help:

What else could be the reason, I'm totally stumped?

File Structure

Upvotes: 2

Views: 9260

Answers (3)

Chetan Prajapati
Chetan Prajapati

Reputation: 2307

"Always Search User Path" in Build Setting - Set it to "Yes".

Also Try with

"Target Dependencies" in Build Phases - Add your dependent project here.

Upvotes: 2

Lei Zhang
Lei Zhang

Reputation: 540

Another possible cause:

Make sure you don't have a duplicated header (that is hidden somewhere in the folder) that has a wrong path(missing to xcode).

Upvotes: 2

valbu17
valbu17

Reputation: 4124

What about under Build Phases -> Link Binary with Libraries -> + ??? try to see if you can find it there..

Upvotes: 0

Related Questions