You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2022. It is now read-only.
Hi, I have not submitted a pull on this because it's a change to the project file and will trigger a merge conflict.
I'm using both CouchCocoa and TouchDB. The technique I'm using is to include them as XCode sub projects of my main project and do workspace builds. This helps with debugging and makes combined builds easier. However my project would not build because it could not find the CouchCocoa and TouchDB headers.
To fix this I did these changes:
Set the Public Headers Folder Path build setting to be include/$PROJECT_NAME in both projects. Doing this in a workspace build means that the headers from the sub project are visible to other projects via the framework style #import <project/header.h> statement. ie. #import <CouchCocoa/CouchCocoa.h>.
I then selected all header files and added them to the Copy Headers build phases of the iOS LIbrary targets.
The result is that the headers are now accessible to the main project.
I think doing this in both projects doesn't effect your normal builds or targets, but makes it really easy to use them as sub projects and therefore have them built as part of the normal build. This saves me having to go through a manual process of building the frameworks and also helps when debugging.
Could this change be make on both CouchCocoa and TouchDB please?
Hi, I have not submitted a pull on this because it's a change to the project file and will trigger a merge conflict.
I'm using both CouchCocoa and TouchDB. The technique I'm using is to include them as XCode sub projects of my main project and do workspace builds. This helps with debugging and makes combined builds easier. However my project would not build because it could not find the CouchCocoa and TouchDB headers.
To fix this I did these changes:
#import <project/header.h>statement. ie.#import <CouchCocoa/CouchCocoa.h>.The result is that the headers are now accessible to the main project.
I think doing this in both projects doesn't effect your normal builds or targets, but makes it really easy to use them as sub projects and therefore have them built as part of the normal build. This saves me having to go through a manual process of building the frameworks and also helps when debugging.
Could this change be make on both CouchCocoa and TouchDB please?
ciao
Derek