当我将 firebase_core 库添加到我的颤振项目并运行“颤振构建 ipa”时,我遇到了一个问题

Posted

技术标签:

【中文标题】当我将 firebase_core 库添加到我的颤振项目并运行“颤振构建 ipa”时,我遇到了一个问题【英文标题】:I faced a problem when I add firebase_core library to my flutter project and run "flutter build ipa" 【发布时间】:2021-09-22 19:55:04 【问题描述】:
/* com.apple.ibtool.errors */
/Users/yazeedmohammad/Documents/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.3.2/ios/Storyboards/WebView.storyboard: error: Interface
Builder can’t determine the type of “WebView.storyboard”. This may be due to a missing SDK.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete

为设备存档时遇到错误。

【问题讨论】:

【参考方案1】:

我发现这个solution 解决了我的问题,它运行良好,alhamdullah。

解决方案链接:https://***.com/a/64513759/12988168

解决方案: “有一个用于 iOS 手机验证设置的 Firebase 文档:

启用 Firebase SDK 以使用 reCAPTCHA 验证:

将自定义 URL 方案添加到您的 Xcode 项目:

打开您的项目配置:双击左侧树视图中的项目名称。从 TARGETS 部分中选择您的应用,然后选择 Info 选项卡,然后展开 URL Types 部分。 单击 + 按钮,并为您的反向客户端 ID 添加 URL 方案。要查找此值,请打开 GoogleService-Info.plist 配置文件,然后查找 REVERSED_CLIENT_ID 键。复制该键的值,并将其粘贴到配置页面上的 URL 方案框中。将其他字段留空。完成后,您的配置应类似于以下内容(但使用特定于应用程序的值):

https://firebase.google.com/docs/auth/ios/phone-auth?authuser=0

也适用于 Flutter。”

【讨论】:

以上是关于当我将 firebase_core 库添加到我的颤振项目并运行“颤振构建 ipa”时,我遇到了一个问题的主要内容,如果未能解决你的问题,请参考以下文章

当我将新闻添加到我的 Firebase 时,有啥方法可以自动发送推送通知

当我将它添加到我的 html 文档时,向上/向下投票系统不起作用

使用 Keras,当我将 Tensorboard 回调添加到我的神经网络时,准确性会降低。我该如何解决?

将 Play JSON 库添加到 sbt

为啥当我将查询字符串添加到我的 url 时,它会被 xampp 拒绝(“在此服务器上找不到请求的 URL”)

当我尝试将谷歌地方库添加到我的项目时出现问题