【问题标题】:I faced a problem when I add firebase_core library to my flutter project and run "flutter build ipa"当我将 firebase_core 库添加到我的颤振项目并运行“颤振构建 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

为设备存档时遇到错误。

【问题讨论】:

    标签: ios firebase flutter webview flutter-inappwebview


    【解决方案1】:

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

    解决方案链接:https://stackoverflow.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。”

    【讨论】:

      猜你喜欢
      • 2019-10-23
      • 2022-06-11
      • 2023-03-23
      • 2022-07-19
      • 2022-11-07
      • 2021-09-15
      • 2021-06-05
      • 2021-06-14
      • 2022-10-07
      相关资源
      最近更新 更多