Search code examples
iosxcodeunity-game-engineuiwebviewgoogle-mobile-ads

Apple does not accept apps that use UIWebView


I have a game created in Unity which Apple does not accept because of the following:

It seems that the problem is in Google Mobile ADS

We identified one or more issues with a recent delivery for your app, "My Game" 10.0 (10). Please correct the following issues, then upload again. ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

I have followed several answer that I found on stackoverflow:

UIWebView still exist in Google Mobile Ads

I have also followed other Unity forums and I can't find a solution

https://forum.unity.com/threads/itms-90809-deprecated-api-usage-new-apps-that-use-uiwebview-are-no-longer-accepted.883510/

My game is created with Unity, and at no time have I used Pod

I have run grep -r "UIWebView". , but this shows files that I can't see, not in xCode, and not in Visual Studio either

I don't know exactly in which folder I should run this command. When I do it in the Pod folder, it shows me files that I cannot open in the editorHow can I find where the files containing UIWebView are located?

I don't know how to find those files in xCode to modify them and try to get Apple to accept my game

Can you help me find those files in xCode? What should i do to correct this problem? Thanks

EDIT: I need answers that solve my problem. The only answer there is, except for mine, offers data that I have tried and showed in my question. I do not see logical that the reward is given to someone who has not read my question, Thank you


Solution

  • Finally and seeing that I do not receive a response, I have solved the problem by starting the project again in the Unity 2020.1.17f1 version. This is not really a solution to the problem that I raised, but since it has solved my problem, I put it as an answer. Thanks to those who have tried to help me. @AlexB