Compile error when CouchbaseLite.framework is used from an internal pod

79 views
Skip to first unread message

Nithin Haridas

unread,
Jun 3, 2014, 11:07:51 AM6/3/14
to mobile-c...@googlegroups.com


Hi,

I work on an app that uses cocoapods to work with multiple dependent targets.
In one of the targets,  I have included CouchbaseLite.framework downloaded from http://www.couchbase.com/communities/couchbase-lite
That was done using the vendored_frameworks method in cocoapods.

Within the target pod, I included two header files as follows,
#import "CouchbaseLite/CouchbaseLite.h" 
 
#import "CouchbaseLite/CBLDocument.h"

However, when I compile, I get this error.

CouchbaseLite.framework/Headers/CBLManager.h:93:1: Property with 'retain (or strong)' attribute must be of object type
which correponds to 
@property (strong) dispatch_queue_t dispatchQueue;


I don't get it when I add the headers to the main target in the workspace, though,

which I did by following the steps in the tutorial.

Any ideas, what might be happening ?

Jens Alfke

unread,
Jun 3, 2014, 12:42:17 PM6/3/14
to mobile-c...@googlegroups.com

On Jun 3, 2014, at 8:07 AM, Nithin Haridas <nithinh...@gmail.com> wrote:

CouchbaseLite.framework/Headers/CBLManager.h:93:1: Property with 'retain (or strong)' attribute must be of object type
which correponds to 
@property (strong) dispatch_queue_t dispatchQueue;


IIRC this happens when building for earlier versions of iOS or Mac OS, because dispatch_queue isn’t recognized as an object type in those earlier OSs. What are your deployment targets set to?

—Jens

Nithin Haridas

unread,
Jun 4, 2014, 1:00:19 AM6/4/14
to mobile-c...@googlegroups.com
The deployment target is IOS 6.0, right now.

Paul Okstad

unread,
Aug 10, 2014, 1:32:59 PM8/10/14
to mobile-c...@googlegroups.com
I'm having the same issue with a deployment target of iOS 6.
Reply all
Reply to author
Forward
0 new messages