Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Include -fobjc-arc linker flag if any pods are arc enabled #142
I ran into this bug today. I have 2 pods that are arc enabled, but my project is not. When running on a 4.3 device, I'd get errors like this:
There's some detail on this issue here:
Apparently there's a bug in LLVM, and it may not automatically include the library that gives support to 4.3 devices. You can force it by including the linker flag
I think CocoaPods could detect this scenario and add the appropriate setting in
I don't believe this is an issue if the main project is configured to use ARC.