I have an iOS project from the ProjectCore
static library that I want to include in MyProject
.
In the library project, I installed:
PUBLIC_HEADERS_FOLDER_PATH = $(TARGET_NAME)
So, I get the following structure
libProjectCore.a ProjectCore (Folder) +- ProjectCore.h +- ProjectCoreUtil.h
In the directory /.../DerivedData/MyProject-xyzabcd/Products/Release-iphoneos/
Now i am setting up MyProject
- Add
ProjectCore
as a git submodule next to MyProject.xcodeproj
- Drag
ProjectCore.xcodeproj
into Xcode - Add project as a dependency
- Link to
libProjectCore.a
- I set the "header search path" for it to
$(BUILT_PRODUCTS_DIR)
, which should point to the folder above.
Curiously, none of the approaches work:
#import "ProjectCore.h" // With the (Recursive Flag set for the Headers)
source share