IOS build error: property with 'retain (or strong)' attribute must be of object type @property (strong, nonatomic) dispatch_queue_t

550 views
Skip to first unread message

william castrillon

unread,
Oct 18, 2014, 11:12:43 AM10/18/14
to codenameone...@googlegroups.com
Hi, I'm trying to use bluetooth in codenameOne, I got it in Android but I'm trying to do the same in iOS and I'm using the LGbluetooth library for iOS:
property with 'retain (or strong)' attribute must be of object type @property (strong, nonatomic) dispatch_queue_t

I found in stackOverFlow that the dispatch_queue_t is objcet begin at iOS6, how can I solve this issue?

thanks

William


IDE: Eclipse
Desktop OS: windows
Simulator
Device: iPad/iPhone

Shai Almog

unread,
Oct 18, 2014, 10:04:00 PM10/18/14
to codenameone...@googlegroups.com, william.c...@gmail.com
Hi,
we currently compile with xcode 5.0 since the old VM only supports that version.
The specific code you are referring to uses ARC which collides with our GC and is thus disabled.

You don't need a dispatch queue, its just a way of building a thread which you already have in the Java side of things. Just create a thread in the Java side of the code and invoke the native interface from that.
Reply all
Reply to author
Forward
0 new messages