我正在开发一个带有 firebase 后端的 flutter 项目,并试图将我的项目的 ios 方面添加到 firebase 项目中。说明说要添加以下豆荚:
# Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
# Add the pods for any other Firebase products you want to use in your app
# For example, to use Firebase Authentication and Cloud Firestore
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
Run Code Online (Sandbox Code Playgroud)
但问题是我不知道在文件中的哪里写这些。这是位于此处的文件(ios/Podfile)。更熟悉ios开发的人可以告诉我在哪里添加这些pod吗?谢谢!
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true' …Run Code Online (Sandbox Code Playgroud) 我正在开发 Flutter 应用程序,但找不到包标识符。根据此处的文档(https://firebase.google.com/docs/flutter/setup),它应该在“常规”选项卡中,但我找不到它。我也读过它可能在这里的地方:ios/Runner.xcodeproj 但我的项目不包含它。谢谢!