Hi, I am using Google Mobile Ads Unity Plugin with mediation in my ios game. However am getting this error from apple - ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability.
The version on Google Mobile Ads Unity Plugin is 5.1.0
And I followed this video on how to upgade the google moble ads to the latest version -
Can someone please tell me what am i missing?
Thanks.
Unity 2019.2.17f1 - worked fine last week as well.
Iâve been having this issue since the start of the week, as well as - TMS-90078: Missing Push Notification Entitlement.
iâm not using Ads and have double checked the Package Manager to make sure itâs not installed. I am using the Analytics Library version 3.3.5 though, as well as Multiplayer HLAPI, not sure if they use UIWebView.
As for Push notifications, I have removed it from my permissions script and am not using it anywhere else in my app, but I do have the Mobile Notificaitions packages installed - version 1.0.3. Should I remove it?
I removed all my scenes, GVR files, XR in project settings. > Created Hello World scene and I was able to upload the app.
Now the question how do I exclude UIWebView from GVR?
same, just uploaded my app⌠unity 2019.1 doesnât appear in iTunes connect as I got that email sayingâŚ
âDeprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn mâŚâ
need to find out what is using UIWebView⌠any ideas ?
if I figure it out, Iâll post back hereâŚ
Solution :
1.Update Google Admob SDK - Minimum SDK version 5.6.0 required
Update FB Audience Network SDK (if used) download from FB page
Unity ADs (if used ) - Minimum SDK version 3.3.0 required .
according to Email :
All the GMA SDK versions including and after 7.55.0 released on Feb 4th, 2020, default to WKWebview and have removed UIWebView entirely.
To ensure your app complies with App Storeâs requirement, we recommend that you:
Update the GMA SDK to the most recent one (minimum version: 7.55.0) and release your app with it at the earliest convenience;
If you are using AdMob mediation or Open Bidding, please review the list below with information on the latest minimum SDK of 3P ad networks that utilize WKWebView and make sure the adapter versions match the SDK version.
I donât know if you solved this but i think i have worked around it (and i emphasise think haha).
I found the issue for me was in \Pods\GVRSDK\Libraries\libGVRSDK.a via Findstr. It had 3 references to UIWebView and i replaced them with WKWebView using gVim and added WebKit.framework to âframeworks and librariesâ in UnityFramework.
The build built successfully to device without issues and uploaded to store and processed fine without warnings, itâs now in review for external testing so fingers crossed itâs all green dots.
I tried options in that other thread⌠ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView page-3
ads work with 2.0.8 on device build.
switching from ads 2.0.8 to 3.4.5 just made the ads not work in builds.
using grep. didnât find any references to UIWebView in my Xcode project
modifying Xcode file target UnityAdsUnityWrapper.mm disabled the ads from working
so far no success of both a build, and ads still working. in 2019.1.14f1
ads 3.3.1, no ads or errors on device
looks like 2.0.8 is the only âverifiedâ version for 2019.1.14f1 in the package manager
fixed it by dumping old unity, old ads version and my code. updating to 2019.3 with latest unity-ads from package manager, and fresh implementation. works. but pain to get there.
To save time for others who are not familiar with this process as I was:
In Vim open \Pods\GVRSDK\Libraries\libGVRSDK.a
Type> :%s/UIWebView/WKWebView/g
Adding Frameworks to Your Xcode Project
Select the project file from the project navigator on the left side of the project window.
Select the target for where you want to add frameworks in the project settings editor.
Select the âBuild Phasesâ tab, and click the small triangle next to âLink Binary With Librariesâ to view all of the frameworks in your application.
To Add frameworks, click the â+â below the list of frameworks.
I tried editing \Pods\GVRSDK\Libraries\libGVRSDK.a but it didnât work. My project is a google cardboard app using Unity 2019.2.21. I even tried updating to the latest Unity and that didnât work either.
@myasovik Thank you very much for the suggestion to run this command in the Xcode folder that Unity created!
Through that, I was able to discover that it was an old version of the Chartboost plugin that was causing the issue. I also needed to upgrade the Facebook API (and removed old versions of Unity Ads and Unity In-App Purchases, though I donât know if they were culprits or not, as I removed them before finding your answer).
hi @myasovik i have the exact same problem and after following your suggestion, when i try to build the app, it throws lots of error, something like this for example :
ignoring file /Users/xxxx/Documents/xxx/vrproject/Projects/vr/Builds/iOS/vr-iOS/Pods/GVRSDK/Libraries/libGVRSDK.a, file is universal (4 slices) but does not contain the armv7 architecture: