Search code examples
iosswiftuiwebview

Deprecated API Usage - App updates that use UIWebView will no longer be accepted


I've followed the suggestions on this topic but I still can't get rid of the UIWebView

list of my pods:

pod 'Firebase/Crashlytics'
pod 'Firebase/Core'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Messaging'
pod 'Firebase/InAppMessagingDisplay'
pod 'Firebase/Performance'
pod 'Google-Mobile-Ads-SDK','7.65.0'
pod 'GoogleAnalytics' 
pod 'Chartbeat', '1.4.1' ######
pod 'TaboolaSDK', '2.8.0'
pod 'FacebookCore', '0.9.0'
pod 'FacebookShare', '0.9.0'
pod 'FacebookLogin', '0.9.0'
pod 'FBSDKCoreKit', '5.15.1'
pod 'FBSDKLoginKit', '5.15.1' 
pod 'FBSDKShareKit', '5.15.1'
pod 'TwitterKit', '3.4.2'
pod 'GoogleSignIn', '5.0.2'
pod 'WKJavaScriptController'
pod 'AlignedCollectionViewFlowLayout'
pod 'JWPlayer-SDK', '3.17.0'
pod 'PianoComposer', '~>2.3.8'

all firebase pods are updated. when i grep for UIWebView i get:

grep: ./ArtiPlayer.framework/Resources: No such file or directory
./Pods/AppAuth/README.md:for the auth request. `UIWebView` and `WKWebView` are explicitly.  
*not*
Binary file ./Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework- 
Current/GoogleMobileAds.framework/GoogleMobileAds matches 
Binary file ./Pods/TwitterKit/iOS/TwitterKit.framework/TwitterKit matches
./Pods/TwitterKit/iOS/TwitterKit.framework/Headers/TWTRTweet.h: *  Suitable for loading in a 
`UIWebView`, `WKWebView` or passing to Safari:
./Pods/GoogleSignIn/CHANGELOG.md:- Supports sign-in via UIWebView rather than app switching.  
to a browser,
grep: ./ArtiSDK.framework/Resources: No such file or directory

GoogleMobileAds, TwitterKit and GoogleSignIn are updated to latest version. please help


Solution

  • You have the latest version of TwitterKit, but it uses UIWebView and it is no longer supported by Twitter so it won't be updated to remove the use of UIWebView.

    You will need to find some other way of providing that functionality in your app.