I'm trying to update my unity app which used to work fine with GoogleMobileAds, but have been getting this error:
Libraries/Plugins/iOS/GADUNativeCustomTemplateAd.m(29,5): error: cannot create __weak reference in file using manual reference counting
__weak GADUNativeCustomTemplateAd *weakSelf = self;
Using the -fobjc-weak extra compiler flag fixes the issue, but then the build crashes on launch on my iPad 3.
After some tests, I realized that even without googlemobileads, the build crashes when using the -fobjc-weak flag, but works fine without it.
Is -fobjc-weak required in the latest versions of the googlemobileads plugin? Is there a workaround?
Not that changing it made a difference, but building for ios version 9
Have been struggling with this for 10 days...