modules/admob/src/AdMob.mm:36:13:{36:13-36:24}: warning: receiver 'AdMobBanner' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class,2]
banner = [[AdMobBanner alloc] init];
^~~
modules/admob/src/AdMob.h:8:8: note: forward declaration of class here [2]
@class AdMobBanner;
^
/Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/objc/NSObject.h:71:1: note: method 'alloc' is used for the forward class [2]
(instancetype)alloc OBJC_SWIFT_UNAVAILABLE("use object initializers instead");
^
modules/admob/src/AdMob.mm:36:32: warning: 'init' is deprecated: first deprecated in iOS 10.0 - Use initWithActivityType: with a specific activity type string [-Wdeprecated-declarations,32]
banner = [[AdMobBanner alloc] init];
^
/Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:28:1: note: 'init' has been explicitly marked deprecated here [2]
(instancetype)init API_DEPRECATED("Use initWithActivityType: with a specific activity type string", macosx(10.10, 10.12), ios(8.0,10.0), watchos(2.0,3.0), tvos(9.0,10.0));
^
modules/admob/src/AdMob.mm:37:10:{37:10-37:34}: warning: instance method '-initialize::' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[banner initialize :instance_id: is_personalized];
^~~~~~~~
modules/admob/src/AdMob.h:8:8: note: receiver is instance of class declared here [2]
@class AdMobBanner;
^
modules/admob/src/AdMob.mm:39:19:{39:19-39:36}: warning: receiver 'AdMobInterstitial' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class,2]
interstitial = [[AdMobInterstitial alloc] init];
^~~~~
modules/admob/src/AdMob.h:10:8: note: forward declaration of class here [2]
@class AdMobInterstitial;
^
/Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/objc/NSObject.h:71:1: note: method 'alloc' is used for the forward class [2]
(instancetype)alloc OBJC_SWIFT_UNAVAILABLE("use object initializers instead");
^
modules/admob/src/AdMob.mm:39:44: warning: 'init' is deprecated: first deprecated in iOS 10.0 - Use initWithActivityType: with a specific activity type string [-Wdeprecated-declarations,32]
interstitial = [[AdMobInterstitial alloc] init];
^
/Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:28:1: note: 'init' has been explicitly marked deprecated here [2]
(instancetype)init API_DEPRECATED("Use initWithActivityType: with a specific activity type string", macosx(10.10, 10.12), ios(8.0,10.0), watchos(2.0,3.0), tvos(9.0,10.0));
^
modules/admob/src/AdMob.mm:40:16:{40:16-40:41}: warning: instance method '-initialize::' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[interstitial initialize :instance_id : is_personalized];
^~~~~~~~~
modules/admob/src/AdMob.h:10:8: note: receiver is instance of class declared here [2]
@class AdMobInterstitial;
^
modules/admob/src/AdMob.mm:42:15:{42:15-42:28}: warning: receiver 'AdMobRewarded' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class,2]
rewarded = [[AdMobRewarded alloc] init];
^~~~~
modules/admob/src/AdMob.h:12:8: note: forward declaration of class here [2]
@class AdMobRewarded;
^
/Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/objc/NSObject.h:71:1: note: method 'alloc' is used for the forward class [2]
(instancetype)alloc OBJC_SWIFT_UNAVAILABLE("use object initializers instead");
^
modules/admob/src/AdMob.mm:42:36: warning: 'init' is deprecated: first deprecated in iOS 10.0 - Use initWithActivityType: with a specific activity type string [-Wdeprecated-declarations,32]
rewarded = [[AdMobRewarded alloc] init];
^
/Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:28:1: note: 'init' has been explicitly marked deprecated here [2]
(instancetype)init API_DEPRECATED("Use initWithActivityType: with a specific activity type string", macosx(10.10, 10.12), ios(8.0,10.0), watchos(2.0,3.0), tvos(9.0,10.0));
^
modules/admob/src/AdMob.mm:43:12:{43:12-43:37}: warning: instance method '-initialize::' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[rewarded initialize :instance_id : is_personalized];
^~~~~~~~~
modules/admob/src/AdMob.h:12:8: note: receiver is instance of class declared here [2]
@class AdMobRewarded;
^
modules/admob/src/AdMob.mm:55:10:{55:10-55:53}: warning: instance method '-load_banner:::' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[banner load_banner: ad_unit_id_NSString : gravity: size_NSString];
^~~~~~~~~~~
modules/admob/src/AdMob.h:8:8: note: receiver is instance of class declared here [2]
@class AdMobBanner;
^
modules/admob/src/AdMob.mm:62:10:{62:10-62:24}: warning: instance method '-destroy_banner' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[banner destroy_banner];
^~~~~~
modules/admob/src/AdMob.h:8:8: note: receiver is instance of class declared here [2]
@class AdMobBanner;
^
modules/admob/src/AdMob.mm:72:16:{72:16-72:33}: warning: instance method '-load_interstitial:' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[interstitial load_interstitial: ad_unit_id_NSString];
^~~~~
modules/admob/src/AdMob.h:10:8: note: receiver is instance of class declared here [2]
@class AdMobInterstitial;
^
modules/admob/src/AdMob.mm:79:16:{79:16-79:33}: warning: instance method '-show_interstitial' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[interstitial show_interstitial];
^~~~~
modules/admob/src/AdMob.h:10:8: note: receiver is instance of class declared here [2]
@class AdMobInterstitial;
^
modules/admob/src/AdMob.mm:89:12:{89:12-89:25}: warning: instance method '-load_rewarded:' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[rewarded load_rewarded: ad_unit_id_NSString];
^~~~~
modules/admob/src/AdMob.h:12:8: note: receiver is instance of class declared here [2]
@class AdMobRewarded;
^
modules/admob/src/AdMob.mm:96:12:{96:12-96:25}: warning: instance method '-show_rewarded' not found (return type defaults to 'id') [-Wobjc-method-access,2]
[rewarded show_rewarded];
^~~~~
modules/admob/src/AdMob.h:12:8: note: receiver is instance of class declared here [2]
@class AdMobRewarded;
^
15 warnings generated.
Compiling ==> modules/admob/src/AdMobBanner.mm
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
In file included from modules/admob/src/AdMobBanner.mm:1:
modules/admob/src/AdMobBanner.h:15:25: warning: 'instance_id' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name,4]
(void)initialize:(int)instance_id:(bool)is_personalized;
^
modules/admob/src/AdMobBanner.h:15:25: note: introduce a parameter name to make 'instance_id' part of the selector [4]
modules/admob/src/AdMobBanner.h:15:36: note: or insert whitespace before ':' to use 'instance_id' as parameter name and have an empty entry in the selector [4]
(void)initialize:(int)instance_id:(bool)is_personalized;
^
modules/admob/src/AdMobBanner.mm:30:9:{30:9-30:19}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33]
NSLog(ad_unit_id);
^~~~~~
modules/admob/src/AdMobBanner.mm:30:9: note: treat the string as an argument to avoid this [2]
NSLog(ad_unit_id);
^
@"%@",
fix-it:"modules/admob/src/AdMobBanner.mm":{30:9-30:9}:"@\"%@\", "
modules/admob/src/AdMobBanner.mm:79:3: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2]
bannerView.translatesAutoresizingMaskIntoConstraints = NO;
^
modules/admob/src/AdMobBanner.mm:80:35: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2]
[rootController.view addSubview:bannerView];
^
modules/admob/src/AdMobBanner.mm:82:44: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2]
[NSLayoutConstraint constraintWithItem:bannerView
^
modules/admob/src/AdMobBanner.mm:89:44: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2]
[NSLayoutConstraint constraintWithItem:bannerView
^
6 warnings generated.
Compiling ==> modules/admob/src/AdMobInterstitial.mm
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
In file included from modules/admob/src/AdMobInterstitial.mm:1:
modules/admob/src/AdMobInterstitial.h:14:26: warning: 'instance_id' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name,4]
(void)initialize: (int)instance_id: (bool)is_personalized;
^
modules/admob/src/AdMobInterstitial.h:14:26: note: introduce a parameter name to make 'instance_id' part of the selector [4]
modules/admob/src/AdMobInterstitial.h:14:37: note: or insert whitespace before ':' to use 'instance_id' as parameter name and have an empty entry in the selector [4]
(void)initialize: (int)instance_id: (bool)is_personalized;
^
modules/admob/src/AdMobInterstitial.mm:28:9:{28:9-28:19}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33]
NSLog(ad_unit_id);
^~~~~~
modules/admob/src/AdMobInterstitial.mm:28:9: note: treat the string as an argument to avoid this [2]
NSLog(ad_unit_id);
^
@"%@",
fix-it:"modules/admob/src/AdMobInterstitial.mm":{28:9-28:9}:"@\"%@\", "
modules/admob/src/AdMobInterstitial.mm:33:8:{33:8-33:18}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33]
NSLog(ad_unit_id);
^~~~~~
modules/admob/src/AdMobInterstitial.mm:33:8: note: treat the string as an argument to avoid this [2]
NSLog(ad_unit_id);
^
@"%@",
fix-it:"modules/admob/src/AdMobInterstitial.mm":{33:8-33:8}:"@\"%@\", "
3 warnings generated.
Compiling ==> modules/admob/src/AdMobRewarded.mm
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
In file included from modules/admob/src/AdMobRewarded.mm:1:
In file included from modules/admob/src/AdMobRewarded.h:1:
modules/admob/lib/GoogleMobileAds.xcframework/ios-armv7_arm64/GoogleMobileAds.framework/Headers/GADRewardedAd.h:53:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute,2]
@property(nonatomic, nullable) GADServerSideVerificationOptions *serverSideVerificationOptions;
^
modules/admob/lib/GoogleMobileAds.xcframework/ios-armv7_arm64/GoogleMobileAds.framework/Headers/GADRewardedAd.h:53:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute,2]
In file included from modules/admob/src/AdMobRewarded.mm:1:
modules/admob/src/AdMobRewarded.h:14:26: warning: 'instance_id' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name,4]
(void)initialize: (int)instance_id: (bool)is_personalized;
^
modules/admob/src/AdMobRewarded.h:14:26: note: introduce a parameter name to make 'instance_id' part of the selector [4]
modules/admob/src/AdMobRewarded.h:14:37: note: or insert whitespace before ':' to use 'instance_id' as parameter name and have an empty entry in the selector [4]
(void)initialize: (int)instance_id: (bool)is_personalized;
^
modules/admob/src/AdMobRewarded.mm:27:9:{27:9-27:19}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33]
NSLog(ad_unit_id);
^~~~~~
modules/admob/src/AdMobRewarded.mm:27:9: note: treat the string as an argument to avoid this [2]
NSLog(ad_unit_id);
^
@"%@",
fix-it:"modules/admob/src/AdMobRewarded.mm":{27:9-27:9}:"@\"%@\", "
modules/admob/src/AdMobRewarded.mm:32:8:{32:8-32:18}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33]
NSLog(ad_unit_id);
^~~~~~
modules/admob/src/AdMobRewarded.mm:32:8: note: treat the string as an argument to avoid this [2]
NSLog(ad_unit_id);
^
@"%@",
fix-it:"modules/admob/src/AdMobRewarded.mm":{32:8-32:8}:"@\"%@\", "
modules/admob/src/AdMobRewarded.mm:74:8:{74:8-74:21}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33]
NSLog(rewardMessage);
^~~~~
modules/admob/src/AdMobRewarded.mm:74:8: note: treat the string as an argument to avoid this [2]
NSLog(rewardMessage);
^
@"%@",
fix-it:"modules/admob/src/AdMobRewarded.mm":{74:8-74:8}:"@\"%@\", "
modules/admob/src/AdMob.mm:36:13:{36:13-36:24}: warning: receiver 'AdMobBanner' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class,2] banner = [[AdMobBanner alloc] init]; ^
~~modules/admob/src/AdMob.h:8:8: note: forward declaration of class here [2] @class AdMobBanner; ^ /Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/objc/NSObject.h:71:1: note: method 'alloc' is used for the forward class [2]~~~~~~~ modules/admob/src/AdMob.h:8:8: note: receiver is instance of class declared here [2] @class AdMobBanner; ^ modules/admob/src/AdMob.mm:39:19:{39:19-39:36}: warning: receiver 'AdMobInterstitial' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class,2] interstitial = [[AdMobInterstitial alloc] init]; ^~~~~ modules/admob/src/AdMob.h:10:8: note: forward declaration of class here [2] @class AdMobInterstitial; ^ /Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/objc/NSObject.h:71:1: note: method 'alloc' is used for the forward class [2]~~~~~~~~ modules/admob/src/AdMob.h:10:8: note: receiver is instance of class declared here [2] @class AdMobInterstitial; ^ modules/admob/src/AdMob.mm:42:15:{42:15-42:28}: warning: receiver 'AdMobRewarded' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class,2] rewarded = [[AdMobRewarded alloc] init]; ^~~~~ modules/admob/src/AdMob.h:12:8: note: forward declaration of class here [2] @class AdMobRewarded; ^ /Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/objc/NSObject.h:71:1: note: method 'alloc' is used for the forward class [2]~~~~~~~~ modules/admob/src/AdMob.h:12:8: note: receiver is instance of class declared here [2] @class AdMobRewarded; ^ modules/admob/src/AdMob.mm:55:10:{55:10-55:53}: warning: instance method '-load_banner:::' not found (return type defaults to 'id') [-Wobjc-method-access,2] [banner load_banner: ad_unit_id_NSString : gravity: size_NSString]; ^~~~~~~~~~~ modules/admob/src/AdMob.h:8:8: note: receiver is instance of class declared here [2] @class AdMobBanner; ^ modules/admob/src/AdMob.mm:62:10:{62:10-62:24}: warning: instance method '-destroy_banner' not found (return type defaults to 'id') [-Wobjc-method-access,2] [banner destroy_banner]; ^~~~~~ modules/admob/src/AdMob.h:8:8: note: receiver is instance of class declared here [2] @class AdMobBanner; ^ modules/admob/src/AdMob.mm:72:16:{72:16-72:33}: warning: instance method '-load_interstitial:' not found (return type defaults to 'id') [-Wobjc-method-access,2] [interstitial load_interstitial: ad_unit_id_NSString]; ^~~~~ modules/admob/src/AdMob.h:10:8: note: receiver is instance of class declared here [2] @class AdMobInterstitial; ^ modules/admob/src/AdMob.mm:79:16:{79:16-79:33}: warning: instance method '-show_interstitial' not found (return type defaults to 'id') [-Wobjc-method-access,2] [interstitial show_interstitial]; ^~~~~ modules/admob/src/AdMob.h:10:8: note: receiver is instance of class declared here [2] @class AdMobInterstitial; ^ modules/admob/src/AdMob.mm:89:12:{89:12-89:25}: warning: instance method '-load_rewarded:' not found (return type defaults to 'id') [-Wobjc-method-access,2] [rewarded load_rewarded: ad_unit_id_NSString]; ^~~~~ modules/admob/src/AdMob.h:12:8: note: receiver is instance of class declared here [2] @class AdMobRewarded; ^ modules/admob/src/AdMob.mm:96:12:{96:12-96:25}: warning: instance method '-show_rewarded' not found (return type defaults to 'id') [-Wobjc-method-access,2] [rewarded show_rewarded]; ^~~~~ modules/admob/src/AdMob.h:12:8: note: receiver is instance of class declared here [2] @class AdMobRewarded; ^ 15 warnings generated. Compiling ==> modules/admob/src/AdMobBanner.mm clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument] In file included from modules/admob/src/AdMobBanner.mm:1: modules/admob/src/AdMobBanner.h:15:25: warning: 'instance_id' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name,4]~~~~~ modules/admob/src/AdMobBanner.mm:30:9: note: treat the string as an argument to avoid this [2] NSLog(ad_unit_id); ^ @"%@", fix-it:"modules/admob/src/AdMobBanner.mm":{30:9-30:9}:"@\"%@\", " modules/admob/src/AdMobBanner.mm:79:3: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2] bannerView.translatesAutoresizingMaskIntoConstraints = NO; ^ modules/admob/src/AdMobBanner.mm:80:35: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2] [rootController.view addSubview:bannerView]; ^ modules/admob/src/AdMobBanner.mm:82:44: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2] [NSLayoutConstraint constraintWithItem:bannerView ^ modules/admob/src/AdMobBanner.mm:89:44: warning: local declaration of 'bannerView' hides instance variable [-Wshadow-ivar,2] [NSLayoutConstraint constraintWithItem:bannerView ^ 6 warnings generated. Compiling ==> modules/admob/src/AdMobInterstitial.mm clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument] In file included from modules/admob/src/AdMobInterstitial.mm:1: modules/admob/src/AdMobInterstitial.h:14:26: warning: 'instance_id' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name,4]~~~~~ modules/admob/src/AdMobInterstitial.mm:28:9: note: treat the string as an argument to avoid this [2] NSLog(ad_unit_id); ^ @"%@", fix-it:"modules/admob/src/AdMobInterstitial.mm":{28:9-28:9}:"@\"%@\", " modules/admob/src/AdMobInterstitial.mm:33:8:{33:8-33:18}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33] NSLog(ad_unit_id); ^~~~~~ modules/admob/src/AdMobInterstitial.mm:33:8: note: treat the string as an argument to avoid this [2] NSLog(ad_unit_id); ^ @"%@", fix-it:"modules/admob/src/AdMobInterstitial.mm":{33:8-33:8}:"@\"%@\", " 3 warnings generated. Compiling ==> modules/admob/src/AdMobRewarded.mm clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument] In file included from modules/admob/src/AdMobRewarded.mm:1: In file included from modules/admob/src/AdMobRewarded.h:1: modules/admob/lib/GoogleMobileAds.xcframework/ios-armv7_arm64/GoogleMobileAds.framework/Headers/GADRewardedAd.h:53:1: warning: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Wobjc-property-no-attribute,2] @property(nonatomic, nullable) GADServerSideVerificationOptions *serverSideVerificationOptions; ^ modules/admob/lib/GoogleMobileAds.xcframework/ios-armv7_arm64/GoogleMobileAds.framework/Headers/GADRewardedAd.h:53:1: warning: default property attribute 'assign' not appropriate for object [-Wobjc-property-no-attribute,2] In file included from modules/admob/src/AdMobRewarded.mm:1: modules/admob/src/AdMobRewarded.h:14:26: warning: 'instance_id' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name,4]~~~~~ modules/admob/src/AdMobRewarded.mm:27:9: note: treat the string as an argument to avoid this [2] NSLog(ad_unit_id); ^ @"%@", fix-it:"modules/admob/src/AdMobRewarded.mm":{27:9-27:9}:"@\"%@\", " modules/admob/src/AdMobRewarded.mm:32:8:{32:8-32:18}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33] NSLog(ad_unit_id); ^~~~~~ modules/admob/src/AdMobRewarded.mm:32:8: note: treat the string as an argument to avoid this [2] NSLog(ad_unit_id); ^ @"%@", fix-it:"modules/admob/src/AdMobRewarded.mm":{32:8-32:8}:"@\"%@\", " modules/admob/src/AdMobRewarded.mm:74:8:{74:8-74:21}: warning: format string is not a string literal (potentially insecure) [-Wformat-security,33] NSLog(rewardMessage); ^~~~~ modules/admob/src/AdMobRewarded.mm:74:8: note: treat the string as an argument to avoid this [2] NSLog(rewardMessage); ^ @"%@", fix-it:"modules/admob/src/AdMobRewarded.mm":{74:8-74:8}:"@\"%@\", "