I'm currently using the theos build system to write applications and tweaks for jailbroken iPhones. Is there a way for me to enable automatic reference counting for specific projects with theos?
I've Googled and tried to decipher the theos makefiles, but I haven't been able to find anything.
I'm not going to unaccept the above answer, because I suspect that this might just have to do with having different versions of theos
, and the answer above definitely put me on the right track to finding what I needed. It turns out, at least for my version of theos
, the environment variable to set is
ADDITIONAL_OBJCFLAGS = -fobjc-arc
(ADDITIONAL_CFLAGS
is also an option, but I don't think there's an opportunity where it matters whether you enable ARC on straight-C code anyways).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With