【问题标题】:CocoaPods Firebase latest version can not updateCocoaPods Firebase 最新版本无法更新
【发布时间】:2020-05-09 19:46:32
【问题描述】:

我正在向Appstore 和Appstore 提交我的应用程序,告诉我我有ITMS-90809 问题。我在我的应用程序中使用Firebase 和Firebase 使用UIWebView。 Firebase 在 Version 6.8.1 - 2019 年 9 月 10 日之后解决了这个问题。 我想更新我的 pod,但 pod 总是安装 Firebase 5.20.2。

如何更新Firebase Version 6.8.1 或最新版本?

我的播客文件:

pod 'Firebase/Messaging' 
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Storage'

我试过pod update。但没有解决。 也改变了我的 pod 文件 像这样

pod 'Firebase/Messaging' '~> 6.8.1'

但这不起作用。

ITMS-90809:不推荐使用的 API - 不再接受使用 UIWebView 的新应用。相反,使用 WKWebView 来提高安全性和可靠性。了解更多信息 (https://developer.apple.com/documentation/uikit/uiwebview)。

谢谢。

【问题讨论】:

标签: ios swift firebase cocoapods ios13


【解决方案1】:

我遇到了同样的问题。

不要使用 Firebase Pod 添加任何版本。使用以下 pod 更新您的 podfile:

pod 'Firebase/Messaging' 
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Storage'

我相信问题会得到解决。 要检查 UIWebView 是否完全从项目中删除,请参考以下链接:

Replaced UIWebView with WKWebView, but still same error from Apple

【讨论】:

  • 请分享您如何检查 UIWebView 匹配的步骤?你试过我分享的链接吗?如果是,请分享截图
  • Akash Sharma 我在很多天前改变了。如果你之前说,我是可以做截图的。我的应用程序接受了。但感谢您愿意提供帮助。
【解决方案2】:

我从链接复制粘贴到 pod 类文件。我解锁以更改文件和编辑文件。

运作良好。我希望 App Store 团队接受我的应用

您可以从此网址看到更新后的 Firebase:

https://github.com/mohamedsamirmohamedsalem/RealTimeChatApp/tree/master/Pods/FirebaseAuth/Firebase/Auth/Source/Utilities

【讨论】:

    猜你喜欢
    • 2017-01-21
    • 2021-12-20
    • 1970-01-01
    • 2017-10-29
    • 2018-06-16
    • 1970-01-01
    • 2020-08-12
    • 2018-03-17
    相关资源
    最近更新 更多