Search Issue Tracker

Fixed in 2020.1

Fixed in 2017.4, 2018.4, 2019.2, 2019.3

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. Response avatar

    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 (83)

  1. 5f50f2add8782c5557b16cfd67af9268?d=mm

    witchita923

    Apr 30, 2020 14:53

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

  2. Cebf2f3b69b76c032d3f6d5b35304668?d=mm

    andrewDale

    Apr 28, 2020 10:53

    Same problem on Unity 2018.4.18

  3. 7fd66ec3515b4264937a90ff2f43bf55?d=mm

    umeshiscreative

    Apr 14, 2020 16:01

    I removed both unity ads from packages and external asset stores but still getting the same issue.
    Anyone knows how to fix this issue, It would be very helpful. I don't want to upgrade Unity this time.
    using,
    Unity 2018.4.9f1 LTS
    Xcode 11
    macOS Catalina.

  4. A67bd476175a1d6146d706b72a518ffc?d=mm

    _mdbnet_

    Apr 08, 2020 23:26

    How is this issue resolved, if the error is still occurring with the Unity Ads package disabled or removed?

  5. 944b8545ee7e28d95d790a4f97a74d42?d=mm

    shweta-unity

    Mar 18, 2020 12:30

    Still present in 2018.4.19f1.
    Any solution?

  6. Ed9c3aa7a062347acd0b1a27d5db85e6?d=mm

    fabiotgarcia

    Mar 13, 2020 14:52

    I'm with the same problem on Unity 2018.4.18.

    How can we fix it?

  7. 5cea089feadc1fea43361459adb201a5?d=mm

    Eggone_igg

    Mar 03, 2020 05:41

    Still happening in 2018.4.14f1

  8. 3d72ee5801e58528813eaeb1d6054d94?d=mm

    planetfactory

    Jan 10, 2020 18:04

    Sorry, it IS fixed in 2018.14.4

  9. 3d72ee5801e58528813eaeb1d6054d94?d=mm

    planetfactory

    Jan 10, 2020 18:02

    Still present in 2018.4.14 without Ads used in the project.

  10. 51cc923c591ac31b808874d83007076e?d=mm

    drallcom3

    Jan 07, 2020 17:39

    Still present in 2018.4.14 without Ads used in the project.

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.