Facebook-ios-sdk: Replace UIWebViews in FBSDKCoreKit

Created on 30 Aug 2019  路  12Comments  路  Source: facebook/facebook-ios-sdk

Today when submitting a new version of an application I am working on that utilizes FBSDKLoginKit and FBSDKCoreKit I received an email from Apple stating my application had one or more issues, with the reasoning being around UIWebView API usage. The application does not contain any web views, and when I searched I found references to UIWebView in FBSDKWebDialogView and FBSDKWebViewAppLinkResolver. These should be updated to use WKWebView.

The message from Apple:

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.

Most helpful comment

Since 5.5.0 was released not long time ago, you need to pod update first or use pod install --repo-update instead of pod install.

All 12 comments

Hi there, we'll have a release soon this week, with this coming release, we'll replace all the UIWebViews with WKWebViews.

5.5.0 has been released with all UIWebView replaced.

@dreamolight Hi! I've updated my pods to the latest version, but references to UIWebView are still there.

same here , they are still there in the FBSDKWebdialogView

@ramizIdealz try to do pod update with pod 'FacebookSDK/CoreKit' instead of just pod 'FacebookSDK' it has helped me to update to the version 5.5.0 with UIWebView replacement

Only able to get 5.4.0 version

CocoaPods could not find compatible versions for pod "FacebookSDK":
In Podfile:
FacebookSDK (~> 5.5.0)

None of your spec sources contain a spec satisfying the dependency: FacebookSDK (~> 5.5.0).

please take a look at this issue @dreamolight

Please reopen issue @achager

Only able to get 5.4.0 version

CocoaPods could not find compatible versions for pod "FacebookSDK/CoreKit":
In Podfile:
FacebookSDK/CoreKit (~> 5.5.0)

None of your spec sources contain a spec satisfying the dependency: FacebookSDK/CoreKit (~> 5.5.0).

Agree with @awthonest , i also got the same error, couldn't find pod that has UIWebview replaced

Since 5.5.0 was released not long time ago, you need to pod update first or use pod install --repo-update instead of pod install.

solved, thanks a lot , @dreamolight

@dreamolight You are rock! Thanks

pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'

I got rejected mail from apple fro using above pods which have Uiwebview . can any one give updated pods . project is in objective c

Was this page helpful?
0 / 5 - 0 ratings