Exception: Calling TargetGuidByName with name='Unity-iPhone' is deprecated. の解決方法



unity2018.3.8f1で開発していたプロジェクトをunity2019.3.2f1で開きXcodeでBuild And Runしようとしたところ

Error building Player: Exception: Calling TargetGuidByName with name='Unity-iPhone' is deprecated. There are two targets now, call GetUnityMainTargetGuid() - for app or GetUnityFrameworkTargetGuid() - for source/plugins to get Guid instead.

のエラーがでた。

解決方法

Window > Package Manager > Ad 2.0.8を選択 → Ad 3.4.2にUpToDate


この記事が気に入ったらサポートをしてみませんか?