Unity Google Mobile Ads Mediatiod MoPub build error Android and iOS

56 Views Asked by At

I added Google mobile ads. After adding MoPub mediation package, it started giving build error.

iOS error: enter image description here

Android Error: enter image description here

1

There are 1 best solutions below

2
saqib kafeel On

the errors mentioned that you don't have swift bridging in your project to create swift bridging follow below steps.

  1. create new file in xcode project
  2. select swift file remain file name File.swift
  3. after create swift file xcode will ask for create bridging tap on create bridge

after create bridging now try to build project