バージョン
Unity:2022.3.10f1
AdMob:v8.6.0
以下、エラー文
Assembly ‘Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll’ will not be loaded due to errors:
Unable to resolve reference ‘UnityEditor.iOS.Extensions.Xcode’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Android向けに作っていると上記のようなエラーがコンソールに出現。
よく見るとiOS絡みのエラーのようである。
解決法
UnityHubから現在のUnityバージョンのiOS Build Supportをインストールする。
![](https://kumasatoblog.com/wp-content/uploads/2023/12/image-1.png)
UnityHub→インストールから現在のバージョンの設定マークからモジュールを加える
![](https://kumasatoblog.com/wp-content/uploads/2023/12/image-2.png)
iOS Build Supportをインストールする
インストール後、プロジェクトを再起動するとエラー文が表示されなくなる。
Unity用AdMob導入公式HP
![](https://kumasatoblog.com/wp-content/uploads/cocoon-resources/blog-card-cache/a331f0eea7bce976e9d64bf0a27fe992.png)
始める | Unity | Google for Developers
Unity でアプリを開発している AdMob パブリッシャー向けのモバイル広告用 SDK です。
コメント