我的flutter应用程序没有在ios模拟器上运行,它是这样显示的: [!] Automatically assigning platform `iOS` with version `9.0` on target
`Runner` because no platform was specified. Please specify a platform for
this target in your Podfile. See
`https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error ru
我想将firebase_messaging包添加到我的flutter应用程序中,但当我安装它时,出现了一个错误,它是: Because firebase_messaging >=7.0.3 <8.0.0-dev.7 depends on firebase_core ^0.5.0+1 and elderly_app depends on firebase_core ^0.7.0, firebase_messaging >=7.0.3 <8.0.0-dev.7 is forbidden.
So, because elderly_app depends on firebas
编辑:此时已解决,只需使用最新版本
我有最新版本的火药库测试。我得到了一个CocoaPods无法为pod“Firebase/Firestore”找到兼容的版本:
# nullsafety # not work #solved
firebase_core: ^1.5.0 #solved now ^1.6.0
firebase_auth: ^3.0.2 #solved now ^3.1.0
cloud_firestore: ^2.5.0 #solved now ^2.5.1
#solved now firebase_st
此错误发生在运行命令'flutter packages get‘时。我为pubspec.yaml文件添加了一些依赖项以使用firebase身份验证:
name: flutter_auth
description: A new Flutter project.
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to y
在我的flutter/firebase项目中安装的pod有一个很大的问题。
每次"pod install“后都会收到这样的信息:
"Analyzing dependencies
cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_anal
elamparithibalakrishnan@MacBook-Pro-3 ios % pod install
Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`
cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
fir
我有一个带M1芯片的苹果电脑。当我试图用“cloud_firestore”包调试一个颤振项目时,我得到了以下错误:
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetchi
不久前,我在Flutter中创建了一个项目。这周,我回到了它,并更新了dependencies。突然间,我发现了一个新的错误:
Because firebase_core ^0.5.2+1 depends on firebase_core_platform_interface ^2.1.0 and firebase_storage >=7.0.0 <8.0.0-1.0.nullsafety.0 depends on firebase_core_platform_interface ^3.0.1, firebase_core ^0.5.2+1 is incompatible with
来自CocoaPods:↳的Podfile``↳错误输出
[!] The FlutterFire plugin cloud_firestore for macOS requires a macOS
deployment target of 10.12 or later.
异常:运行吊舱安装时出错
Hi, I've been stuck on this problem for a while, I'm trying to connect my flutter app with firebase but as soon as I put firestore on I have th
我想使用UserModel.fromSnapshot(DocumentSnapshot snapshot)获取用户信息。在这种情况下,uid,用户名,电子邮件等。
我试着用snapshot.data()[UID];获取用户uid。我也尝试过使用snapshot.data()['uid'];和snapshot.data['uid'];,但没有成功。
我做错什么了?我试着用谷歌搜索它,但我在snapshot.data['uid'];中找不到任何错误
错误消息:
The operator '[]' isn't defined f
请帮我解决我在flutter项目中添加了firestore的问题,它在android上运行良好,但在ios上我无法在模拟器中运行应用程序 我生成了podfile并添加了 pod 'Firebase/Core'
pod 'Firebase/Firestore' 还将平台更改为 platform :ios, '10.0' 但在终端'pod install --repo-update‘中运行此命令时出现错误 Error like this:
CocoaPods could not find compatible versions fo
将RXdart添加到我的pubspec.yaml后,我收到以下错误: Because no versions of cached_network_image match >2.5.1 <3.0.0 and cached_network_image 2.5.1 depends on flutter_cache_manager ^2.1.0, cached_network_image ^2.5.1 requires flutter_cache_manager ^2.1.0. 包使用: ev_dependencies:
flutter_test:
sdk: flutter
在我的颤振应用程序中,我正在使用Firebase Firestore。在debug模式下,一切都很好。但是,在release模式下,我会得到以下错误。我看到了一个类似的问题,但它不能解决我的问题。
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: [cloud_firestore/unavailable]
The service is currently unavailable. This is a most likely a transient condition and may be corrected b
在我的应用程序中,我使用了一些软件包
environment:
sdk: ">=2.2.2 <3.0.0"
module:
androidX: true
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS styl
我在firebase软件包中遇到了一个错误,特别是我认为firebase_core,
据我所知,它正试图从绑定盘中得到一些东西,现在它被关闭了,所以它不起作用是有意义的。我正在使用最新版本的firebase_core: ^1.10.5、flutter 2.8.0和dart 2.15.0
错误:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Cou
我做了豆荚修复更新。这不管用。我在用麦克跑。我试着重新安装cocapods,但也没有帮助。我该怎么解决这个问题?今天真的被困在这上面了。这就是它造成的错误:
错误:CocoaPods的规范存储库太过时,无法满足依赖关系。若要更新CocoaPods规范,请运行: pod repo更新
在iPhone 13上运行吊舱安装错误启动应用程序时出错。
Launching lib/main.dart on iPhone 13 in debug mode...
Running pod install...
CocoaPods' output:
↳
Preparing
Analyzing dep
见鬼,每个人,我是新的颤栗和经过一些课程已经能够开发酷的应用程序和设计。但为了进一步学习,我被引导将FireStore与我的安卓应用程序连接起来。当我这样做时,一旦在pubspect.yaml文件中声明了依赖项,我就会得到以下错误消息:
> Could not find method implementation() for arguments [project ':firebase_core'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHa
我一直在尝试在iOs模拟器iPhone 12中运行我的flutter项目,但是,我在StackOverflow或Github上找到的任何答案或建议都没有解决版本依赖的问题。 我面临的问题是: [!] CocoaPods could not find compatible versions for pod "FirebaseCore":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 2.5.3, which depends on
在为IOS构建应用程序时遇到以下错误:
Xcode's output:
↳
While building module 'firebase_core' imported from /Users/amishra19/Library/Android/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-2.1.0/ios/Classes/FLTQuerySnapshotStreamHandler.m:6:
In file included from <module-includes>