Search Unity

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

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

Thread Status:
Not open for further replies.
  1. AytoMaximo

    AytoMaximo

    Joined:
    Aug 26, 2015
    Posts:
    76
    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:
    5
    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:
    22
    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:
    211
    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:
    7
    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:
    22
    What about uploading? Did you upload the build before or after restriction?
     
  9. gamezuv

    gamezuv

    Joined:
    Nov 6, 2013
    Posts:
    82
    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.
     
  11. GL8666

    GL8666

    Joined:
    Jul 12, 2018
    Posts:
    5
    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:
    5
    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:
    27
    @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:
    22
    Any estimation for fix?
     
    Last edited: Sep 5, 2019
  15. raysainthyl

    raysainthyl

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

    Anagr

    Joined:
    Oct 1, 2016
    Posts:
    22
    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:
    7
    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
     
  20. joshskelton

    joshskelton

    Joined:
    Aug 30, 2013
    Posts:
    22
    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:
    112
    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:
    112
    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...
     
    abdullahbayraktar likes this.
  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:
    15
    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:
    9
    +1 unity 2018.3.0f2 ,need help
     
  28. Marko325

    Marko325

    Joined:
    May 23, 2013
    Posts:
    8
    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:
    105
    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:
    8
    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:
    481
    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:
    211
    Fix In Review for 2019.3 and 2020.1
     
  35. antifuzz

    antifuzz

    Joined:
    Feb 22, 2013
    Posts:
    99
    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:
    351
    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.
     
    Ebonicus likes this.
  39. Q-Ted

    Q-Ted

    Joined:
    Dec 16, 2016
    Posts:
    46
    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:
    19
    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:
    112
    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...
     
  42. xubaod

    xubaod

    Joined:
    Sep 16, 2019
    Posts:
    1
    • unity2019.3b,This issue has been resolved,But it hasn't been released yet。
     
  43. Fronne

    Fronne

    Joined:
    Sep 25, 2014
    Posts:
    112
    Status: Fixed in 2018.4, 2019.2, 2019.3
    I assume, the Fix will be in 2018.4.10f1, can you tell us when this version/these versions will be released?
     
    DBarlok and anp like this.
  44. christianmahler

    christianmahler

    Joined:
    Jul 9, 2017
    Posts:
    33
    This is kind of critical, for so many developers.
     
    anp likes this.
  45. anp

    anp

    Joined:
    Jul 1, 2015
    Posts:
    7
    The bug is fixed according to the issue tracker, but when will the new 2018.4 LTS version be released? It is very important for us, because we can't release a critical app update of our own. Not knowing the release date makes it even harder. Any info on that would be greatly appreciated!
     
  46. christianmahler

    christianmahler

    Joined:
    Jul 9, 2017
    Posts:
    33
  47. Dalton-Lima

    Dalton-Lima

    Joined:
    Dec 21, 2016
    Posts:
    19
    and this fix is also in (now released) 2018.4.10f1 LTS.
     
    DBarlok and anp like this.
  48. Molioo

    Molioo

    Joined:
    Mar 12, 2016
    Posts:
    7
    It would be great if there was a fix for 2019.1 as well.
     
  49. Art7712

    Art7712

    Joined:
    Mar 16, 2019
    Posts:
    1
    unity 2018.4.10f1 all the same error
     
  50. kimcatq

    kimcatq

    Joined:
    Jun 11, 2019
    Posts:
    9
    I have just uploaded my build to App Store Connect and I'm still getting the warning.
    I'm using the 2018.4.10f1 (Unity fix for UIWebView)

    I did a text search in Xcode for "UIWebView" and only show 2 results in a comment section in HeyZap (Ad SDK).

    I'm also using UnityAds, Chartboost and Firebase Analytics. They are the most likely candidates that would use UIWebView. But I don't know how to confirm this.

    Does anyone know how I can identify what package(s) is/are using the UIWebView?

    --Update--
    Just found a way to list all the other files still linking to UIWebView.
    1. Open Terminal
    2. cd <ios project>
    3. grep -r "UIWebView" .

    I can confirm the UIWebView has been removed in [libiPhone-lib.a] (with 2018.4.10f1).
    But I still have UnityAds, HeyZap, Chartboost to deal with.
     
    Last edited: Oct 3, 2019
    Dalton-Lima likes this.
Thread Status:
Not open for further replies.