Xcode >> ARC restriction

Did someone ever got the “ARC restriction” error from Xcode?

It seems to come from the AdColony plugins which require to Enable Automatic Reference Counting.

I added the “-fobjc-arc” flag to the Other Linker Flags input but nothing to do…

Project comes from Unity 3.5, and using Armv7+7s (dunno if such info are important).

You can see the error on the attached screens.

Thanks!..

You need to put the -fno-objc-arc tag on all the unity classes in the build phases

1233884--52162--$Screen Shot 2013-04-30 at 4.50.12 PM.png