Facebook-sdk-for-unity: UIWebView deprecated issue

Created on 18 Dec 2019  ·  6Comments  ·  Source: facebook/facebook-sdk-for-unity

Hi, I used the latest Unity SDK (facebook-unity-sdk-7.18.0). When I submitted the App to App Store got UIWebView deprecated warning.
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.

https://github.com/facebook/facebook-ios-sdk/issues/1035
There mentioned the problem was fixed on facebook-ios-sdk v5.5.0, but Dependencies.xml still required 5.2. Please upgrade the dependencies, thanks.

    <iosPods>
        <iosPod name="FBSDKCoreKit" version="~> 5.2" />
        <iosPod name="FBSDKLoginKit" version="~> 5.2" />
        <iosPod name="FBSDKShareKit" version="~> 5.2" />
    </iosPods>
bug

Most helpful comment

Just replace the version with 5.5

<iosPods>
    <iosPod name="FBSDKCoreKit" version="~> 5.5" />
    <iosPod name="FBSDKLoginKit" version="~> 5.5" />
    <iosPod name="FBSDKShareKit" version="~> 5.5" />
</iosPods>

All 6 comments

encountering this issue, whats the solution for this?

+1

Just replace the version with 5.5

<iosPods>
    <iosPod name="FBSDKCoreKit" version="~> 5.5" />
    <iosPod name="FBSDKLoginKit" version="~> 5.5" />
    <iosPod name="FBSDKShareKit" version="~> 5.5" />
</iosPods>

Thank you it works :)

You can change the version in Podfile, or run pod install --repo-update

This is still happening and we're on version 7.1.1

<iosPods>
    <iosPod name="FBSDKCoreKit" version="~> 7.1.1" />
    <iosPod name="FBSDKLoginKit" version="~> 7.1.1" />
    <iosPod name="FBSDKShareKit" version="~> 7.1.1" />
    <iosPod name="FBSDKGamingServicesKit" version="~> 7.1.1" />
</iosPods>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Duke74 picture Duke74  ·  4Comments

naklow12 picture naklow12  ·  6Comments

yasuohasegawa picture yasuohasegawa  ·  4Comments

laijingfeng picture laijingfeng  ·  6Comments

JuGGerNaunT picture JuGGerNaunT  ·  3Comments