Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2017.4.X, 2018.4.X, 2019.2.X, 2019.3.X

Votes

108

Found in

2017.4.0f1

2018.4.0f1

2018.4.2f1

2019.2.0a1

2019.3.0a1

2020.1.0a1

Issue ID

1180664

Regression

No

[iOS] Apple throws Deprecated API Usage warning for using UIWebView when submitting Builds to the App Store Connect

iOS

-

After submitting Unity-iOS builds to the App Store Connect Apple is showing Warning for using UIWebView:

==
Dear Developer,
We identified one or more issues with a recent delivery for your app, "XXXXX". Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.
==

This case doesn't need a reproduction project, the problem is that we're creating an instance of UIWebView at PlatformDependent/iPhonePlayer/URLUtility.mm to handle in-game links, but the UIWebView will be no longer supported by Apple and will be a cause for apps rejection in the App Store Connect

Reproduced on Unity 2017.4.32f1, 2018.4.8f1, 2019.2.4f1, 2019.3.0b2 and 2020.1.0a2

  1. Resolution Note (fix version 2020.1):

    Please note that you will get the error if you are using a Unity Ads package older or equal to 3.2. This was fixed with Ads 3.3.0.

Comments (91)

  1. eragimov

    Aug 08, 2020 15:22

    +1 2019.3.15f1

  2. qoolelee

    May 18, 2020 07:46

    Unity 3D 2019.3.13f1 and have removed Ads and Unity collaborate and is still getting rejected by The App Store. Is there any schedule. to fix this issue?

  3. UDN_6c8b8a3a-8d7a-436e-9ca9-a1bf7a57bf0c

    May 13, 2020 06:30

    2019.3.7f1 has the issue.
    Unity has too many 严重的 bus.

  4. jnoland52

    May 08, 2020 22:45

    I am using Unity 3D 2019.2.2f1 and have removed Ads and my app is still getting rejected by The App Store. How can I fix this?

  5. myasovik

    May 06, 2020 22:53

    Got this error in 2018.4.21f - I removed Ads from Packages and still getting same rejection

  6. gamesmiths

    May 06, 2020 20:48

    Well not sure if this is fixed but when I upgraded Unity Ads to 3.3.0 my test ads (where it says your advert is being displayed correctly) no longer shows. It does the required action after completion but the advert is not shown, even if I build on iOS it doesn't actually show the advert.

  7. myasovik

    May 06, 2020 15:53

    2018.4 is not working

    I was able to upload project 9 time. Yesterday it start giving me this problem. I not sure what happened as in build 10 was changed only 2D assets.

  8. nulyang2012

    May 05, 2020 14:34

    unity2018.4.12f1 solved this problem,i use this version of unity and Xcode11.4.1 to upload my app succeed,now my app is reviewing.
    following details:
    disable unity ads(i did't test newest version,maybe doesn't matter)
    package Xcode project
    Xcode build archive
    upload to app store connect
    processing my app and webpage shows succeed

  9. witchita923

    Apr 30, 2020 14:53

    Thanks for sharing. Anyway, I found something online, would it be better if we use 2020.1.0b7?

  10. andrewDale

    Apr 28, 2020 10:53

    Same problem on Unity 2018.4.18

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.