When submitting my latest build, Apple suddenly returned a message saying that there was an issue, specifically:
ITMS-90809: Deprecated API Usage - Apple
I think it was being used from the firebase_auth plugin. Try to update it to its latest version and then remember run pod update.
Since this has become the "goto answer" on Google for this rejection message, I'll add a React Native fix.
On React Native, considering that you've been a good developer and are not using UIWebView in your own code, use the following command to find out which of your dependencies still does use UIWebView:
grep -r UIWebView node_modules/*
There is a bit more info here.
Even though I'm not using firebase_auth in my app, I was finding references to UIWEBVIEW in Xcode search from FirebaseAuth. It seems that Pods includes this by default. So this worked for me:
I have this with our Cordova app and fixed it by updating a dependency.
Are you by any chance using the dependency or an other dependency is using the dependency "cordova-plugin-inappbrowser".
If so, this should be fixed in 3.1.0. See the release notes https://github.com/apache/cordova-plugin-inappbrowser/blob/master/RELEASENOTES.md And the PR fixing it https://github.com/apache/cordova-plugin-inappbrowser/pull/271
Update: it's not fixed yet. See issue on cordova-ios: https://github.com/apache/cordova-ios/issues/661 Note the: There is no deadline, I've contacted an Apple developer that has been tweeting about moving to WKWebView to see if he can provide more information, will update if I get a response.
Update: Cordova-ios 5.1.0 seems to fix this. See https://github.com/apache/cordova-ios/pull/715
In my case the problem was the version of the Facebook plugin for Flutter that I was using in debug
I had to change the version from:
flutter_facebook_login: ^2.0.1
to:
flutter_facebook_login: ^3.0.0
Also had to change the pod file from:
pod 'FBSDKCoreKit', '~> 4.39.1'
pod 'FBSDKLoginKit', '~> 4.39.1'
to:
pod 'FBSDKCoreKit', '~> 5.5'
pod 'FBSDKLoginKit', '~> 5.5'
Then another problem became with the call of this function
fbLogin.logInWithReadPermissions(['email']);
just replaced with
fbLogin.logIn(['email']);
then rebuild everything, and upload again.