Я создаю собственное приложение, которое я не собираюсь показывать, но у меня есть Firebase Authentication и другие связанные сервисы.К моему удивлению, я продолжаю получать эту ошибку ниже.Что могло произойти?
*** Terminating app due to uncaught exception
'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK
was initialized incorrectly. Google AdMob publishers should follow
instructions here: https://googlemobileadssdk.page.link/admob-ios-
update-plist to include the AppMeasurement framework, set the -ObjC
linker flag, and set GADApplicationIdentifier with a valid App ID.
Google Ad Manager publishers should follow instructions here:
https://googlemobileadssdk.page.link/ad-manager-ios-update-plist'
Способ, которым я обнаружил вокруг этой ошибки, состоит в обновлении info.plist путем добавления
<key>GADIsAdManagerApp</key>
<true/>
. Это решило проблему с ошибкой.но не основная проблема, поэтому он должен требовать Идентификатор приложения GAD, так как реклама не будет отображаться в приложении.