Search Unity

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView

Discussion in 'Unity Ads' started by tn92, Aug 30, 2019.

  1. AytoMaximo

    AytoMaximo

    Joined:
    Aug 26, 2015
    Posts:
    18
    What if it's not about packages, but Unity itself?
     
  2. Caspella

    Caspella

    Joined:
    Sep 30, 2016
    Posts:
    1
    Received the same warning.
    using Unity 2018.3.12f1
    no Unity Ads.
    with UnityWebRequest, facebook, twitter sdk, TMP and Unity Ads in packages.
    I will keep an close eye on this thread .
     
  3. GL8666

    GL8666

    Joined:
    Jul 12, 2018
    Posts:
    3
    Same here. I wan't to know when they can fix this problem, I just can't summit my game to AppStore now.
     
  4. Anagr

    Anagr

    Joined:
    Oct 1, 2016
    Posts:
    18
    You are not alone :)
     
  5. nihpsej

    nihpsej

    Joined:
    Sep 4, 2019
    Posts:
    1
    I am also getting ITMS-90809: Deprecated API Usage error. I am not using Unity Ads or IAP.

    Any solution for this. I tried to upload build in App store using fastlane

    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.
     
  6. Skjalg

    Skjalg

    Joined:
    May 25, 2009
    Posts:
    150
    As stated on the issue tracker
    Meaning this is primarily a problem with the Unity Engine itself and not Unity Ads, although Unity Ads might have a problem as well - but I'm more concerned with the URLUtility.mm
     
  7. Gornian

    Gornian

    Joined:
    Jun 22, 2017
    Posts:
    6
    I have the same issue but submit a game and everything ok. App review - passed.
    For review team I added note that I will fix this issue ASAP for next update.
    Just for information.
    But I'm also want to know how to fix it.
     
  8. Anagr

    Anagr

    Joined:
    Oct 1, 2016
    Posts:
    18
    What about uploading? Did you upload the build before or after restriction?
     
  9. gamezuv

    gamezuv

    Joined:
    Nov 6, 2013
    Posts:
    75
    Hi, I did not have unity ads in mine and still got the warning.
     
  10. sarah_stumbo

    sarah_stumbo

    Unity Technologies

    Joined:
    May 13, 2017
    Posts:
    2
    The mobile R&D team is aware of the issue and is in the process of fixing. Please also note that the Apple warning is just a warning for future submissions. You should still be able to submit to the store and beta testing for now.
     
    skwanny, tangyongjun6, Fronne and 3 others like this.
  11. GL8666

    GL8666

    Joined:
    Jul 12, 2018
    Posts:
    3
    It does not affect the submission and review, but after Apple’s review, they will say the app include some hidden features(ex: We discovered that your app contains hidden features. Attempting to hide features, functionality or content in your app is considered egregious behavior and can lead to removal from the Apple Developer Program.), and then reject it.
     
    Caspella likes this.
  12. GL8666

    GL8666

    Joined:
    Jul 12, 2018
    Posts:
    3
    We discovered that your app contains hidden features. Attempting to hide features, functionality or content in your app is considered egregious behavior and can lead to removal from the Apple Developer Program.

    Specifically, your app contains functionality to load a webview of external content within the app for the purpose of third-party game streaming.
     
  13. Lostwanderer1

    Lostwanderer1

    Joined:
    Mar 11, 2019
    Posts:
    11
    @sarah_stumbo
    Can You atleast confirm where this issue is coming from?
    Is it facebook sdk, Unity or any other packages.
     
  14. Anagr

    Anagr

    Joined:
    Oct 1, 2016
    Posts:
    18
    Any estimation for fix?
     
    Last edited: Sep 5, 2019
  15. raysainthyl

    raysainthyl

    Joined:
    May 8, 2019
    Posts:
    1
    Come on!
    We can't even upload a build to Appstore
     
    Anagr likes this.
  16. Anagr

    Anagr

    Joined:
    Oct 1, 2016
    Posts:
    18
    5 hours ago we tried to upload our build (same, but with bigger build number) again, and oh miracle! Apple took build, but while processing sent to us again email with a pointer to this deprecation.

    Dear Developer,
    We identified one or more issues with a recent delivery for your app, "APP_NAME_HERE". [B]Your delivery was successful, but you may wish to correct the following issues in your next delivery[/B]:

    [B]ITMS-90809: Deprecated API Usage[/B] - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.


    After processing Apple sent another mail with standard build confirmation.
     
  17. LiontechStudios

    LiontechStudios

    Joined:
    Oct 24, 2017
    Posts:
    1
    I am using admob and iAP. Got this issue today, can I remove the ads from the package manager? Is that just Unity ads being removed? or will my admob integration also be affected?
     
  18. Gornian

    Gornian

    Joined:
    Jun 22, 2017
    Posts:
    6
    HI
    Yes I got this warning in mail. And then build will be available in app store for submit. I submitted game for Review and Review passed.
     
    Fronne likes this.
  19. sgygkgk

    sgygkgk

    Joined:
    Apr 28, 2015
    Posts:
    6
    Same here.

    I know that there is "UIWebView" in libiPhone-lib.a.
    Apple will statically detect strings when searching for APIs used in an App, so this problem may not be resolved as long as "UIWebView" exists in libiPhone-lib.a.

    $strings /Applications/Unity2018.4.2f1/PlaybackEngines/iOSSupport/Trampoline/Libraries/libiPhone-lib.a  | grep "UIWebView"
    l_OBJC_LABEL_PROTOCOL_$_UIWebViewDelegate
    l_OBJC_PROTOCOL_$_UIWebViewDelegate
    UIWebViewDelegate
    c20@0:4@"UIWebView"8@"NSURLRequest"12i16
    v12@0:4@"UIWebView"8
    v16@0:4@"UIWebView"8@"NSError"12
    @"UIWebView"

    * "Unity2019.2.0f1" has similar results
     
    Petr777, Fronne, Dalton-Lima and 2 others like this.
  20. joshskelton

    joshskelton

    Joined:
    Aug 30, 2013
    Posts:
    16
    I'm following this too. Having the same issue.
     
  21. TobyYe

    TobyYe

    Joined:
    May 25, 2013
    Posts:
    24
    Same issue, hope there will be a solution soon.
     
  22. Fronne

    Fronne

    Joined:
    Sep 25, 2014
    Posts:
    107
    Same issue here, email from Apple but uploaded to App Store Connect without a problem so far...
    Going to submit/publish our latest App this weekend, I will come back on this...

    Unity 2018.4.8f1
     
  23. Fronne

    Fronne

    Joined:
    Sep 25, 2014
    Posts:
    107
    I had several ITMS issues before, Apple's policy is changed on a regular base. They can do whatever they want at any time and everybody seems to think that's normal...

    Unity should have contact with Apple about upcoming changes, it will prevent a lot of annoyance and lots of extra work, at least try communicate with them, it's good for Apple, Unity and all of us too...
     
  24. ez2

    ez2

    Joined:
    Oct 1, 2016
    Posts:
    1
    ok I guess we wait
     
  25. GimpMaster

    GimpMaster

    Joined:
    Mar 30, 2017
    Posts:
    7
    Following. Looking forward to official Unity message.
     
  26. lntoan123

    lntoan123

    Joined:
    Apr 1, 2019
    Posts:
    2
    After i tested so much times, i can conclude that : All third framework can cause that warning (FacebookSDK, Firebase, Webview...) even i removed Uiwebview in my plugin.

    Even if my project is empty and 1 scripts like this:
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using UnityEngine.UI;
    public class NewBehaviourScript : MonoBehaviour
    {
    Text text;

    }
    or // if (Application.platform == RuntimePlatform.IPhonePlayer)
    // {
    // info.platform = (byte)PlatformDevice.IOS;
    // }
    It still be get warning from appleStore. So i feel doubting about warning from apple. It's so stupid :| .
     
    Fronne likes this.
  27. cdy_unity

    cdy_unity

    Joined:
    Jul 28, 2017
    Posts:
    6
    +1 unity 2018.3.0f2 ,need help
     
  28. Marko325

    Marko325

    Joined:
    May 23, 2013
    Posts:
    6
    Just a heads up, renaming UIWebView to something else (like UIWabView) in libiPhone-lib.a doesn't avoid the warning. Not even replacing all instances of WebView to WabView avoids it (I used a Hex Editor plugin for Notepad++ to do so). There may be more strings the automated system searches for or perhaps there's something else it searches for altogether that causes the warning. I've done a string search for UIWebView in the whole XCode project and nothing comes up (except for unaltered libiPhone-lib.a of course).

    I'm using Unity 2018.1.9f2 with an app using ARKit augmented image functionality, I removed all packages from package manager as well and we don't use any web functionality whatsoever (I still get the warning every time).

    We're submitting to review in the next few days and I will be crossing my fingers that we don't fail because of this. In the meantime can anyone at Unity advise (unofficially) if there's anything we can do with a Hex Editor or otherwise to strip out UIWebView? Maybe an unofficial libiPhone-lib.a that we are strongly advised to not use but we can use to pass review anyway?
     
  29. lightsp

    lightsp

    Joined:
    Sep 11, 2019
    Posts:
    1
    Same thing happen to me , @Unity support team . fix it pls .
     
    tangyongjun6 and Dalton-Lima like this.
  30. onevcat

    onevcat

    Joined:
    Jan 4, 2013
    Posts:
    91
    For anyone using UniWebView, we have a new version (https://docs.uniwebview.com/release-note/#_3-13-2-29-aug-2019) in which we removed all usage of UIWebView. So now UniWebView should not trigger this warning.
     
  31. kartikarora1606_siemens

    kartikarora1606_siemens

    Joined:
    Sep 12, 2019
    Posts:
    1
    Hi, I have the same issue.

    I have a question :
    I don't want to publish my app to app store. I want to only generate a public link for TestFlight external users. Will this warning affect the review process? My build is showing the status as waiting for review in test flight
     
  32. naklow12

    naklow12

    Joined:
    Jun 14, 2017
    Posts:
    2
    No I can build and publish my app even though error. There's no big deal about it.
     
  33. _Adriaan

    _Adriaan

    Joined:
    Nov 12, 2009
    Posts:
    418
    Not using any of the plugins mentionned here, but still getting this warning using Unity 2019.1.14f.
     
  34. Skjalg

    Skjalg

    Joined:
    May 25, 2009
    Posts:
    150
    Fix In Review for 2019.3 and 2020.1
     
  35. antifuzz

    antifuzz

    Joined:
    Feb 22, 2013
    Posts:
    77
    Will this fix be back ported to 2018.4?
     
  36. kanedaoscube_unity

    kanedaoscube_unity

    Joined:
    Jun 28, 2019
    Posts:
    1
    unity 2019.3.0b3(beta) all the same error
     
  37. tangyongjun6

    tangyongjun6

    Joined:
    Aug 8, 2019
    Posts:
    1
    unity 2017.4.32f1 all the same error
     
  38. GhulamJewel

    GhulamJewel

    Joined:
    May 23, 2014
    Posts:
    333
    ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key 'UIApplicationExitsOnSuspend' in bundle Color2020 [Color2020.app] that will soon be unsupported. Remove the key, rebuild your app and resubmit.

    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.


    Using Unity 2018.4 plugins used Google admob and Gamecenter.
     
  39. Q-Ted

    Q-Ted

    Joined:
    Dec 16, 2016
    Posts:
    14
    It is marked as 'Fixed in 2019.3', so I guess we can expect it whenever new patches gets pushed for the various versions. Keep an eye out on the patch release notes.
     
  40. Dalton-Lima

    Dalton-Lima

    Joined:
    Dec 21, 2016
    Posts:
    7
    Yes, even the 2017.4 will receive a patch.
    Check the ticket 1180664
     
    Fronne and antifuzz like this.
  41. Fronne

    Fronne

    Joined:
    Sep 25, 2014
    Posts:
    107
    I case you don't know yet, there's an easy fix for this one...
    Add this code from natashonok in a script named ModifyPlist or something in an Editor folder and it's fixed...