I have tried the solution found in this post to disable ARC in AFNetworking files, but to no avail:
Any ideas where I am failing? Obviously the simpler the answer the better. I have also read that creating static libraries may help, but this seems complicated.
EDITS
I have tried deleting derived data and Clean and Build and restarting Xcode. No deals :(.
Also, there are no other projects in my workspace.
HDMI ARC is disabled by default. To enable HDMI ARC, in the Home screen menu, navigate to Settings > System > Control other devices (CEC), and then highlight HDMI ARC. Press OK to enable or disable the feature.
Clear cache and clear data on your Android TV device. Perform a power reset on the TV and audio system: Turn off the TV and the audio system. Disconnect the power cords (mains lead) and the HDMI cable from both the TV and audio system.
The Audio Return Channel (ARC) connects your TV and audio system with a single High Speed HDMI® cable and eliminates the need for an additional composite audio or optical cable. You can view the video that covers ARC and enhanced ARC (eARC) features or skip to the detailed information.
Weird thing. I tried adding the -fno-objc-arc
flag to some Facebook files and the project finally built. I guess the lesson here is that when Xcode generates these types of errors, the source of the problem may be in another file. This may especially be true if Xcode is complaining about a file that you have already flagged!
Hopefully this will be of help to somebody :).
Just a little additional hint:
If you have multiple targets in your project check if you added the compiler flag -fno-objc-arc
to all of them.
"Convert to Objective-C ARC" is a code rewriting tool, -fno-objc-arc on the other hand is a compile time flag. It's simply irrelevant for the purpose of refactoring.
Before you click "Check", expend the target and deselect the files you want to keep ARC-free.
Actually the problem is simple. Make sure there is no carriage return after the -fno-objc-arc
flag you have entered in the compiler flags dialog.
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