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. fixsquadwebmaster

    Feb 04, 2024 17:24

    It's crucial for developers to stay updated with Apple's guidelines to avoid such issues. The deprecation of UIWebView and the shift towards WKWebView is a significant change, similar to how technology evolves in other areas like iPhone repairs. In the iPhone repair industry, for instance, staying abreast of the latest hardware and software updates is essential for providing top-notch service. At Fixsquad, where I work in iPhone repair, we constantly update our techniques and tools to align with the latest Apple standards, just as app developers must update their code for App Store acceptance."

  2. jackpot81

    Dec 28, 2022 02:35

    ky.to/jackpot81.weeblysite.com
    nun.nu/jackpot81.weeblysite.com
    ime.nu/jackpot81.weeblysite.com
    2ch.io/jackpot81.weeblysite.com
    pdcn.co/e/jackpot81.weeblysite.com
    imgops.com/jackpot81.weeblysite.com
    isitup.org/jackpot81.weeblysite.com
    pagecs.net/jackpot81.weeblysite.com
    j-page.biz/jackpot81.weeblysite.com
    norefs.com/jackpot81.weeblysite.com

  3. vastromedia

    Oct 11, 2022 02:02

    Apakah Anda Sedang Mencari Rental Sewa Sepeda Jogja Murah? Sindu Bike adalah Penyewaan Sepeda Lipat, Sepeda MTB, Onthel dekat Malioboro, Prambanan, Borobudur.

  4. obsidian1269

    Mar 13, 2021 19:27

    This issue is not fixed on 2018.1.9f2 (the final JavaScript version) meaning that all JavaScript projects updated to the latest possible version will now fail Apple's submission. Please fix this issue. +1

  5. Teomani

    Mar 02, 2021 08:22

    +1

    Using Unity 2018.1.0, I removed the Unity ADS using the package manager and from the Xcode project, but the game still gets rejected. I can't upgrade to a new Unity version since half of the project is in Javascript, any help?

  6. SpankThyBox

    Nov 11, 2020 19:56

    This issue exists currently in unity 2018.2.21f1. Prevents submission of App to Apple.

  7. Hecolo

    Nov 06, 2020 23:13

    Same issue with no plugin... it's directly coming to unity I guess.
    Facebook sdk doe not work either.
    Should we give up making game for apple then ?

  8. triplume

    Oct 26, 2020 12:07

    2020.1.1f1 - same issue...

  9. gustavopimentel

    Sep 21, 2020 17:29

    Hello!
    I have a project with 2017.4.40 and i created the empty project to test, and only enabling de IAP the apple rejects it with ITMS-90809: Deprecated API Usage

    I already imported the Unity IAP from asset store, i imported the package clicking on button "import" on service windows, but nothing.

    Someone can help?

Add comment

Log in to post comment