I'm trying to add the Ensembles 2 framework to my iOS project (switching from the open source Ensembles 1, v2 is not open source so I don't have access to the code or cocoa pod anymore).
I think I followed the install instructions to the point:
- Dragged in the framework (and the .bundle)
- Made sure targets and "copy items" are selected
- Made sure -ObjC is set
XCode copies the framework to $(PROJECT_DIR) which is also set in Framework Search Paths (among other dirs). It seems to be unable to find <Ensembles/Ensembles.h>
though, no matter what I try. I searched similar questions on SO and elsewhere and tried various combinations of Framework Search Path settings and Header Search Path settings but have had no success so far. Specifically I tried
- Adding and removing quotes from existing Framework Search Path settings
- Playing with the recursive setting
- Creating a Frameworks subdirectory and adding the framework there. Then add
"$(SRCROOT)/Frameworks
to Framework Search Paths and Header Search Paths (both recursive and non-recursive) - Adding
"$(SRCROOT)/Frameworks/Ensembles/Headers"
to Header Search Paths - Deleting, cleaning, and re-adding the framework multiple times
This is getting frustrating. Any other ideas? I'm using XCode 7.2.1 btw.
Ok, this seems to have been an XCode issue, probably some cached intermediate files or something. To resolve I