@synthesize of 'weak' property is only allowed in ARC or GC mode
Closed this issue · 5 comments
Gurpartap commented
JakeLin commented
@Gurpartap , I am having the same issue here. What can I do to fix it just for my project?
JakeLin commented
@Gurpartap , I found a way to fix it. Just add -fobjc-arc -DOS_OBJECT_USE_OBJC=0 to each single file for QBPopupMenu. Thanks.
mital87 commented
@JakeLin : This is work for me. so what is the use of " -fobjc-arc -DOS_OBJECT_USE_OBJC=0 "? I didn't get it. Can you please explain this? Thanx in advance...
JakeLin commented
@mital87 Pods project target -> Build Phases -> Compile Source -> select a file -> Compiler Flags -> put '-fobjc-arc -DOS_OBJECT_USE_OBJC=0'.
deepakp123 commented
Thanks Man, I had same issue but it get solved now