Here's the absolute path to the framework:
/Users/brendan/Projects/tapforms-ios/Tap Forms/Third Party/CouchbaseLite.
framework
And my Project's Framework Search Path:
$(inherited) "$(SRCROOT)/Tap Forms" "$(PROJECT_DIR)/Tap Forms/Third Party"
the Target's Framework Search Path is:
$(inherited) "$(PODS_ROOT)/Dropbox-Sync-API-SDK/dropbox-ios-sync-sdk-3.1.2"
$(PODS_ROOT)/TextExpander
So it should be inheriting the "$(PROJECT_DIR)/Tap Forms/Third Party" which
is where the framework is sitting in my project directory.
And when I compile, I get this error:
/Users/brendan/Projects/tapforms-ios/Tap Forms/Tap Forms-Prefix.pch:12:9:
fatal error: 'CouchbaseLite/CouchbaseLite.h' file not found
#import <CouchbaseLite/CouchbaseLite.h>
^
1 error generated.
And within the CouchbaseLite.framework bundle, I have the following:
CouchbaseLite
Headers/
CBLAttachment.h
CBLAuthenticator.h
CBLBase.h
CBLDatabase.h
CBLDatabaseChange.h
CBLDocument.h
CBLGeometry.h
CBLJSON.h
CBLManager.h
CBLModel.h
CBLModelFactory.h
CBLQuery.h
CBLQuery+FullTextSearch.h
CBLQuery+Geo.h
CBLQueryBuilder.h
CBLRegisterJSViewCompiler.h
CBLReplication.h
CBLRevision.h
CBLUITableSource.h
CBLView.h
CouchbaseLite.h
MYDynamicObject.h
Info.plist
PrivateHeaders/
CBLReplication+Transformation.h
CBLStatus.h
CouchbaseLitePrivate.h
So I'm a bit perplexed. I compiled the Continuos iOS target and pulled the
framework out of the xcodearchive.
Thanks for your help.
Brendan
On Sunday, June 28, 2015 at 6:24:19 PM UTC-6, Jens Alfke wrote:
>
>
> On Jun 28, 2015, at 12:29 PM, Brendan Duddridge <[email protected]
> <javascript:>> wrote:
>
> Hi,
>
> When I compile the iOS Couchbase Framework and add it to my project, my
> project is unable to find it when I reference Couchbase like this:
>
> #import <CouchbaseLite/CouchbaseLite.h>
>
>
> Hm. That is the correct syntax; you shouldn’t change it.
>
> I also checked my Framework Search Path for my target and project to make
> sure it has an entry for the folder where the CouchbaseLite.framework
> bundle is.
>
>
> It sounds like the search path is wrong.
> What *exactly* is the “Framework Search Paths” setting for your target?
> And what are the *exact* absolute paths to the Xcode project and to the
> CouchbaseLite.framework?
>
> (Also, as a sanity check, make sure that the framework has a Headers
> directory that contains the expected headers.)
>
> I would rather not disable bitcode in my project.
>
>
> Then you’ll need to build your own Couchbase Lite for the time being. Only
> Xcode 7 has support for emitting bitcode, but we won’t ship a release built
> with a beta-quality compiler. Once Xcode 7 ships, our next Couchbase Lite
> release will be built with it and include bitcode.
>
> —Jens
>
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/e0e6802c-dc93-4c25-919d-c2e9950680ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.