nek023/QBPopupMenu

@synthesize of 'weak' property is only allowed in ARC or GC mode

Closed this issue · 5 comments

Setting s.requires_arc = true in the cocodpods podspec would help.

@Gurpartap , I am having the same issue here. What can I do to fix it just for my project?

@Gurpartap , I found a way to fix it. Just add -fobjc-arc -DOS_OBJECT_USE_OBJC=0 to each single file for QBPopupMenu. Thanks.

@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...

@mital87 Pods project target -> Build Phases -> Compile Source -> select a file -> Compiler Flags -> put '-fobjc-arc -DOS_OBJECT_USE_OBJC=0'.

Thanks Man, I had same issue but it get solved now