Deprecated API Usage - New apps that use UIWebView are no longer accepted.
okoroeugene opened this issue · 5 comments
Hey guys, please I have been trying to upload a build to Apple Store, but I keep getting this error:
Dear Developer,
We identified one or more issues with a recent delivery for your app, "App" 0.3.14 (1). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Best regards,
The App Store Team
And when I run this command:
grep -r "UIWebView" .
I get this as the output:
Binary file ./node_modules/rn-spotify-sdk/ios/external/SpotifySDK/SpotifyAuthentication.framework/SpotifyAuthentication matches
In essence, the culprit is rn-spotify-sdk, and I have tried updating the package to the latest, but still yet I get same error from Apple.
Any suggestions on this issue?
SpotifyAuthentication is not needed to compile this app anymore. Remove it as a dependency and recompile
There was a dangling reference to SpotifyAuthentication in the xcode project, but I've removed it in the latest version now.
There was a dangling reference to SpotifyAuthentication in the xcode project, but I've removed it in the latest version now.
When I remove the SpotifyAuthentication, I get this error when building on xcode:
framework not found SpotifyAuthentication
Please ensure you don't have any references in your build settings to SpotifyAuthentication and that you're on the latest version of the module
…
On Tue, Jun 16, 2020, 3:56 PM OKORO EUGENE OBINNA @.***> wrote: There was a dangling reference to SpotifyAuthentication in the xcode project, but I've removed it in the latest version now. When I remove the SpotifyAuthentication, I get this error when building on xcode: framework not found SpotifyAuthentication — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#168 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3VGUPKFTPNBBS7HKJDPMLRW7E5NANCNFSM4N7YV4VA .
Thanks @lufinkey
Works pretty fine