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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.