user4951
user4951

Reputation: 33060

How to include files for a project in a different directory

enter image description here

I clearly added AFNetworking by reference (notice the blue color of the folder).

Yet, xcode complain that there is no such file called AFNetworking.h

I included the folder rather than the file actually

Upvotes: 1

Views: 37

Answers (1)

Frank
Frank

Reputation: 987

You cannot use Xcode's folder reference for code. It's primarily used for resources. To be able to compile your code, add AFNetworking file as a group instead.

Upvotes: 2

Related Questions