Facebook-ios-sdk: "ITMS-90809: Deprecated API Usage" warning on build submission

Created on 23 Mar 2020  ·  20Comments  ·  Source: facebook/facebook-ios-sdk

Checklist

Environment

  • Xcode Version: 11.3.1
  • Installation Platform & Version: Swift Package Manager

Getting the warning "_ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020_" when uploading a build to App Store.

We're using Facebook SDK 6.2.0 with Swift Package Manager which should not use UIWebView since 5.5.0, but when searching the package I find references of usage in "Carthage -> Checkouts -> OHHTTPStubs -> Pods -> AFNetworking". It seems to be linked to "UIKit+AFNetworking". Are the extensions in UIWebView+AFNetworking used by the framework or can they be excluded somehow?

All 20 comments

So this is interesting, mostly because I would expect this to be an issue for more developers...
Two things to do.
1) On your end I would suggest you let them know that this is only used in unit tests.
2) On our end we'll look into changing things so that we aren't checking in those submodules (tbh, not sure why / if that's necessary at all)

We are still getting this deprecation warning, despite the attempt to remove the Carthage submodules (https://github.com/facebook/facebook-ios-sdk/pull/1293).

facebook-ios-sdk version: 6.5.0

Yeah here too. Still happening on version 7.0.0.

Is there any update on the issue?

I am using 'FBSDKCoreKit' and can find the UIWebView instances in 'FBSDKWebDialogView'.

@abhinavroy23 You are likely using an old version of the SDK and need to upgrade. See: https://github.com/facebook/facebook-ios-sdk/blob/efc6f4a241693a256488e24687ca17bfa625674b/CHANGELOG.md#550

Will attempt to remove those carthage checkouts.

@joesus: Thanks Joe for the revert, I upgraded to 7.0.0, it was fixed.

1383 - possible fix. Have not tested and won't merge until I find time to check it with a fresh clone. I'm sure this will fix the SPM issue but it may break other things. ╥﹏╥

Is there any update on the issue?

I am using 'FBSDKCoreKit' and can find the UIWebView instances in 'FBSDKWebDialogView'.

I update to version FacebookCoreKit - '0.9.0' then the issue had been fixed.

Is there any update on the issue?
I am using 'FBSDKCoreKit' and can find the UIWebView instances in 'FBSDKWebDialogView'.

I update to version FacebookCoreKit - '0.9.0' then the issue had been fixed.

Please do not use this pod. Use FBSDKCoreKit latest version. FacebookCoreKit is deprecated.

Does anyone managed to resolve this? I am also using Carthage.

Nope. This is still an issue.

I have the same problem.

Xcode 11.5
Facebook Swift Package 7.1.1.

Search the Facebook package for 'UIWebView' I find 19 results in 8 files.

What can I do to resolve the 'ITMS-90809: Deprecated API Usage' warning from the App Store. I guess we will have to December 2020....

I removed Podfile.lock and run pod install again, seems fixed this issue.


Why this issue still exists in 7.1.1, but in the changelog, it seems to be fixed at 5.5.0?
https://github.com/facebook/facebook-ios-sdk/blob/a0cbb85a60248a6ac7260c119360a0c619680966/CHANGELOG.md#550

I just remove 'FacebookCore', add 'FBSDKCoreKit'
image

After run pod install, my Podfile.lock shows it updates to 7.1.1
image

But after resubmission, I still got the same warning.

I have used pod s FBSDKShareKit. 7.1.1 still getting error .

can you list out the pods which uses wkwebview . using iOS with objective c

Screenshot 2020-08-26 at 7 22 46 PM
I have installed with 5.0.0 and 7.1.1 but no use . can you give pod names which does not use Ui webview

Closing since there is no reference to UIWebview in this repository.
https://github.com/facebook/facebook-ios-sdk/search?q=UIWebview&type=Code

Please upgrade to the latest version.

For all who are facing rejection for using face book pods in objective c . Please delete pods file in the project then install 7.1.1 then run grep -r "UIWebView" . in the terminal you cannot find UiwebView in face book pods . Problem will be solved .
Thank you

Closing since there is no reference to UIWebview in this repository.
https://github.com/facebook/facebook-ios-sdk/search?q=UIWebview&type=Code

Please upgrade to the latest version.

there was reference to To Uiwebview . You can clearly see in screen shot . Any how issue solved Thank you

I removed Podfile.lock and run pod install again, seems fixed this issue.

Why this issue still exists in 7.1.1, but in the changelog, it seems to be fixed at 5.5.0?
https://github.com/facebook/facebook-ios-sdk/blob/a0cbb85a60248a6ac7260c119360a0c619680966/CHANGELOG.md#550

I just remove 'FacebookCore', add 'FBSDKCoreKit'
image

After run pod install, my Podfile.lock shows it updates to 7.1.1
image

But after resubmission, I still got the same warning.

delete pod file in the project and update the project with 7.1.1 then Uiwebview instance will be gone . thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fromkk picture fromkk  ·  8Comments

chuganzy picture chuganzy  ·  3Comments

Meilu picture Meilu  ·  7Comments

vladogrigorov picture vladogrigorov  ·  5Comments

alperkayabasi picture alperkayabasi  ·  5Comments