I know you can use -fno-objc-arc flag to disable ARC for files that NOT support ARC in an ARC project.
Is there any way to enable ARC for files support ARC in a Non-ARC project?
Thanks!
Yup: add the -fobjc-arc flag the same way.
来源:https://stackoverflow.com/questions/11255177/how-to-enable-arc-for-a-file-in-non-arc-project