1

我正在尝试在颤振项目中使用 Firebase 实现和测试电话身份验证。但它会为 pod 引发错误。用 Iphone 11 Pro Max 测试它。困惑并且无法找到 pod 错误,请帮助找到特定线路所需的错误和解决方案

在调试模式下在 iPhone 11 Pro Max 上启动 lib/main.dart...运行 pod install...5.2s 运行 Xcode build...Xcode build 完成。
19.2s 无法构建 iOS 应用程序 Xcode 构建的错误输出:↳ 2020-05-18 16:07:58.232 xcodebuild[40406:746075] 警告:“Firebase.debug.xcconfig”的文件引用是多个组的成员( “支持文件”和“支持文件”);这表明项目格式不正确。只有其中一个组中的成员资格将被保留(但目标中的成员资格将不受影响)。如果您想在多个组中引用同一文件,请添加对同一路径的另一个引用。2020-05-18 16:07:58.232 xcodebuild[40406:746075] 警告:“Firebase.release.xcconfig”的文件引用是多个组(“支持文件”和“支持文件”)的成员;这表明项目格式不正确。只有其中一个组中的成员资格将被保留(但目标中的成员资格将不受影响)。如果您想在多个组中引用同一文件,请添加对同一路径的另一个引用。2020-05-18 16:07:58.238 xcodebuild[40406:746075] 警告:“GoogleUtilities.debug.xcconfig”的文件引用是多个组(“支持文件”和“支持文件”)的成员;这表明项目格式不正确。只有其中一个组中的成员资格将被保留(但目标中的成员资格将不受影响)。如果您想在多个组中引用同一文件,请添加对同一路径的另一个引用。2020-05-18 16:07:58.238 xcodebuild[40406:746075] 警告:“GoogleUtilities.release.xcconfig”的文件参考 是多个组的成员(“支持文件”和“支持文件”);这表明项目格式不正确。只有其中一个组中的成员资格将被保留(但目标中的成员资格将不受影响)。如果您想在多个组中引用同一文件,请添加对同一路径的另一个引用。** 构建失败 **

Xcode 的输出:↳ /Users/tusharrai/AndroidStudioProjects/demo_flutter_app/ios/Pods/FirebaseCoreDiagnostics/Firebase/CoreDiagnostics/FIRCDLibrary/FIRCoreDiagnostics.m:25:9: 致命错误:'GoogleUtilities/GULAppEnvironmentUtil.h' 文件未找到#import ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 产生1个错误。注意:使用新的构建系统 注意:并行构建目标 注意:规划构建 注意:构建构建描述警告:签名和功能的功能可能无法正常运行,因为其权利使用占位符团队 ID。要解决此问题,请在 Runner 编辑器中选择一个开发团队。(在项目“Runner”的目标“Runner”中)

无法为模拟器构建应用程序。在 iPhone 11 Pro Max 上启动应用程序时出错。

发布规范.yaml

dependencies:
  flutter:
    sdk: flutter


  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.3
  firebase_auth: ^0.16.0

podfile.lock

PODS:
  - Firebase/Analytics (3.6.0):
    - FirebaseAnalytics (= 3.4.2)
  - Firebase/Auth (6.22.0):
    - Firebase/CoreOnly
    - FirebaseAuth (~> 6.5.1)
  - Firebase/Core (3.6.0):
    - Firebase/Analytics
  - Firebase/CoreOnly (6.22.0):
    - FirebaseCore (= 6.6.6)
  - firebase_auth (0.0.1):
    - Firebase/Auth (~> 6.3)
    - Firebase/Core
    - Flutter
  - firebase_auth_web (0.1.0):
    - Flutter
  - firebase_core (0.0.1):
    - Firebase/Core
    - Flutter
  - firebase_core_web (0.1.0):
    - Flutter
  - FirebaseAnalytics (3.4.2):
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleUtilities (~> 1.2)
  - FirebaseAuth (6.5.3):
    - FirebaseAuthInterop (~> 1.0)
    - FirebaseCore (~> 6.6)
    - GoogleUtilities/AppDelegateSwizzler (~> 6.5)
    - GoogleUtilities/Environment (~> 6.5)
    - GTMSessionFetcher/Core (~> 1.1)
  - FirebaseAuthInterop (1.1.0)
  - FirebaseCore (6.6.6):
    - FirebaseCoreDiagnostics (~> 1.2)
    - FirebaseCoreDiagnosticsInterop (~> 1.2)
    - GoogleUtilities/Environment (~> 6.5)
    - GoogleUtilities/Logger (~> 6.5)
  - FirebaseCoreDiagnostics (1.3.0):
    - FirebaseCoreDiagnosticsInterop (~> 1.2)
    - GoogleDataTransportCCTSupport (~> 3.1)
    - GoogleUtilities/Environment (~> 6.5)
    - GoogleUtilities/Logger (~> 6.5)
    - nanopb (~> 1.30905.0)
  - FirebaseCoreDiagnosticsInterop (1.2.0)
  - FirebaseInstanceID (1.0.9)
  - Flutter (1.0.0)
  - GoogleDataTransport (6.1.0)
  - GoogleDataTransportCCTSupport (3.1.0):
    - GoogleDataTransport (~> 6.1)
    - nanopb (~> 1.30905.0)
  - GoogleInterchangeUtilities (1.2.2):
    - GoogleSymbolUtilities (~> 1.1)
  - GoogleSymbolUtilities (1.1.2)
  - GoogleUtilities (1.3.2):
    - GoogleSymbolUtilities (~> 1.1)
  - GoogleUtilities/AppDelegateSwizzler (6.6.0):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
  - GoogleUtilities/Environment (6.6.0):
    - PromisesObjC (~> 1.2)
  - GoogleUtilities/Logger (6.6.0):
    - GoogleUtilities/Environment
  - GoogleUtilities/Network (6.6.0):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (6.6.0)"
  - GoogleUtilities/Reachability (6.6.0):
    - GoogleUtilities/Logger
  - GTMSessionFetcher/Core (1.4.0)
  - nanopb (1.30905.0):
    - nanopb/decode (= 1.30905.0)
    - nanopb/encode (= 1.30905.0)
  - nanopb/decode (1.30905.0)
  - nanopb/encode (1.30905.0)
  - PromisesObjC (1.2.8)

DEPENDENCIES:
  - firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
  - firebase_auth_web (from `.symlinks/plugins/firebase_auth_web/ios`)
  - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
  - firebase_core_web (from `.symlinks/plugins/firebase_core_web/ios`)
  - Flutter (from `Flutter`)

SPEC REPOS:
  trunk:
    - Firebase
    - FirebaseAnalytics
    - FirebaseAuth
    - FirebaseAuthInterop
    - FirebaseCore
    - FirebaseCoreDiagnostics
    - FirebaseCoreDiagnosticsInterop
    - FirebaseInstanceID
    - GoogleDataTransport
    - GoogleDataTransportCCTSupport
    - GoogleInterchangeUtilities
    - GoogleSymbolUtilities
    - GoogleUtilities
    - GTMSessionFetcher
    - nanopb
    - PromisesObjC

EXTERNAL SOURCES:
  firebase_auth:
    :path: ".symlinks/plugins/firebase_auth/ios"
  firebase_auth_web:
    :path: ".symlinks/plugins/firebase_auth_web/ios"
  firebase_core:
    :path: ".symlinks/plugins/firebase_core/ios"
  firebase_core_web:
    :path: ".symlinks/plugins/firebase_core_web/ios"
  Flutter:
    :path: Flutter

SPEC CHECKSUMS:
  Firebase: 32f9520684e87c7af3f0704f7f88042626d6b536
  firebase_auth: f8287325aae894aff045dff38bf0667cbeb49563
  firebase_auth_web: 0955c07bcc06e84af76b9d4e32e6f31518f2d7de
  firebase_core: 0d8be0e0d14c4902953aeb5ac5d7316d1fe4b978
  firebase_core_web: d501d8b946b60c8af265428ce483b0fff5ad52d1
  FirebaseAnalytics: 3f5358d9104adf159cc8d99b7b501e50099a39ad
  FirebaseAuth: 7047aec89c0b17ecd924a550c853f0c27ac6015e
  FirebaseAuthInterop: a0f37ae05833af156e72028f648d313f7e7592e9
  FirebaseCore: 9aca0f1fffb405176ba15311a5621fcde4106fcf
  FirebaseCoreDiagnostics: 4a773a47bd83bbd5a9b1ccf1ce7caa8b2d535e67
  FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850
  FirebaseInstanceID: 2d0518b1378fe9d685ef40cbdd63d2fdc1125339
  Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
  GoogleDataTransport: f6f8eba931df03ebd2232ff4645aa85f8f47b5ab
  GoogleDataTransportCCTSupport: d70a561f7d236af529fee598835caad5e25f6d3d
  GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7
  GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96
  GoogleUtilities: 39530bc0ad980530298e9c4af8549e991fd033b1
  GTMSessionFetcher: 6f5c8abbab8a9bce4bb3f057e317728ec6182b10
  nanopb: c43f40fadfe79e8b8db116583945847910cbabc9
  PromisesObjC: c119f3cd559f50b7ae681fa59dc1acd19173b7e6

PODFILE CHECKSUM: c34e2287a9ccaa606aeceab922830efb9a6ff69a

COCOAPODS: 1.9.1
4

0 回答 0