I have created a workspace with ObjcMongoDB as subproject. Then I've built both frameworks and linked them to my target. By importing #import <ObjCMongoDB/ObjCMongoDB.h>
I get an error "NSDictionary+BSONAdditions.h" file not found. Have I forgotten something or I've done it completely wrong?
Asked
Active
Viewed 354 times
-5
-
Did you tell the compiler what path to search to find that header? – Carl Norum Aug 17 '13 at 20:57
-
This file is inside ObjCMongoDB framework. All other files are visible – andrexus Aug 18 '13 at 10:39
2 Answers
0
Sometimes with frameworks Categories are not imported when building. In your 'Build Settings' under 'Other Linker Flags' add a flag '-ObjC' this will import the categories.

sbarow
- 2,759
- 1
- 22
- 37