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>


I've tried all manner of variations on the above (e.g. 
"CouchbaseLite/CouchbaseLite.h" or just "CouchbaseLite.h" after the import. 
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.  My iOS project just won't compile when I use the version I 
compiled by archiving the "Continuos iOS" target from master. It simply 
says <CouchbaseLite/CouchbaseLite.h> is not found. The same setup works 
just fine on my Mac app. This seems to be limited to my iOS project.

If I add it to my project using Cocoapods then it does find it, but I get 
the following warnings:

ld: warning: URGENT: all bitcode will be dropped because 
'/Users/brendan/Projects/tapforms-ios/Pods/couchbase-lite-ios/CouchbaseLite.framework/CouchbaseLite(CBL_Revision.o)'
 
was built without bitcode. You must rebuild it with bitcode enabled (Xcode 
setting ENABLE_BITCODE), obtain an updated library from the vendor, or 
disable bitcode for this target. Note: This will be an error in the future.

I would rather not disable bitcode in my project.

I've tried adding CouchbaseLite.framework to a brand new Objective-C test 
project and it still fails to find it. I'm quite puzzled by this. I've been 
adding third party frameworks to my apps for years and this time I just 
can't seem to get it to find it.

I'm using Xcode 7.0 beta (7A120f)

Any ideas or a sample Objective-C project with the framework compiled from 
master would be very helpful so I can see what I'm doing wrong.

Thanks,

Brendan

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/1e96a1ef-e604-45aa-9aab-0f78a82b5dd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to