导入适用于 Unity 的Google 移动广告插件包后出现的问题

使用的unity版本式2022.3.17,导入广告插件包后,出现错误如下:

assembly 'assets/externaldependencymanager/editor/1.2.179/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,完成。重新打开unity就好。

猜你喜欢

转载自blog.csdn.net/2401_84121183/article/details/138084475