Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

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

Closed
Gurpartap opened this issue Jun 18, 2013 · 5 comments
Closed

Comments

@Gurpartap
Copy link

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

@JakeLin
Copy link

JakeLin commented Jul 31, 2013

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

@JakeLin
Copy link

JakeLin commented Jul 31, 2013

@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
Copy link

mital87 commented Aug 2, 2013

@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
Copy link

JakeLin commented Aug 2, 2013

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

@nek023 nek023 closed this as completed Dec 3, 2013
@deepakp123
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants