当我将 firebase_core 库添加到我的 flutter 项目和 运行 "flutter build ipa" 时,我遇到了一个问题

I faced a problem when I add firebase_core library to my flutter project and run "flutter build ipa"

/* 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

归档设备时遇到错误。

我发现这个 solution 解决了我的问题,它工作正常 alhamdullah。

解决方案link:

解决方法: “iOS phone 验证设置有一个 Firebase 文档:

要使 Firebase SDK 能够使用 reCAPTCHA 验证:

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

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

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

也适用于 Flutter。