'LoadAdError code:8 Cannot find an ad network adapter with the name(s): com.google.DummyAdapter

I suddenly started to get these weird errors and my banners ads are not displaying properly anymore. Weirdly, some ads are displaying, but most dont. I did not change anything and now I receie these error messages:

Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
flutter: Ad failed to load: LoadAdError(code: 8, domain: com.google.admob, message: Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target., responseInfo: ResponseInfo(responseId: FyQqYoKtM4ne3wOA0Y6wBQ, mediationAdapterClassName: null, adapterResponses: [AdapterResponseInfo(adapterClassName: com.google.DummyAdapter, latencyMillis: 1), description: {
flutter:     Credentials =     {
flutter:     };
flutter:     Error = "Error Domain=com.google.admob Code=8 \"Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.\" UserInfo={NSLocalizedDescription=Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.}";
flutter:     Latency = "0.001";
flutter:     Network = "com.google.DummyAdapter";
flutter: }, credentials: {
flutter: }, adError: AdError(code: 8, domain: com.google.admob, message: Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.))]))

I really do not know how to solve this. I am running test ads with test unit ids on a flutter app on an ios mobile emulator. I noticed that its working on the android emulator and that the few ads which are displayed in the ios app are actual ads not the test ads, despite using test ids.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source