我的应用程序的部署目标目前在Xcode中设置为9.2。我认为最低值应该是9.0。
然而,当试图更新到AudioKit 4.5.2 (从4.4) -我在终端得到以下错误.
⇒ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "AudioKit":
In Podfile:
AudioKit (~> 4.5.2)
Specs satisfying the `AudioKit (~> 4.5.2)` dependency were
我试图安装pod 'Firebase/Functions',但失败了,出现以下错误: `!CocoaPods找不到pod“Firebase/Functions”的兼容版本:在Podfile中:Firebase/Functions 找到了满足Firebase/Functions依赖的规范,但它们需要更高的最低部署目标。 这是我的pod文件 # Uncomment the next line to define a global platform for your project
# platform :ios, '11.0'
target 'MyApp
在尝试使用云FireStore启用应用程序时,我得到了以下错误:
[!] Unable to satisfy the following requirements:
- `Firebase/Firestore` required by `Podfile`
Specs satisfying the `Firebase/Firestore` dependency were found, but they required a higher minimum deployment target.
我将podfile需求更改为10.2,xcode部署更改为10.2,我仍然会收到这个错误。有什么建议吗
在我的index.ts中定义了云函数。但是,当尝试使用firebase deploy部署我的云功能时,Firebase CLI没有检测到我的功能。
终端输出
✔ functions: Finished running predeploy script.
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
i artifactregis
我正在尝试使用GitHub操作部署我的Firebase应用程序。我在下面的命令中运行相同的命令:
npm安装
npm审计修复
npm安装防火墙-tools@10.9.2
直到10天前,它一直工作得很完美,现在我突然发现了下面的问题:
Crash in HeaderParser in dicer - https://github.com/advisories/GHSA-wm7h-9275-46v2
fix available via `npm audit fix --force`
Will install firebase-admin@7.0.0, which is a br
我正在使用Firebase Cloud Functions托管我的SSR Nextjs应用程序。我可以在firebase云函数上部署Nextjs应用程序,并在没有React Hooks的情况下通过干净的URL访问它,但使用React Hooks时,我会收到一条错误消息:
Invariant Violation: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1.
为了使Podfile.lock在整个团队中保持不变,我正在尝试修复我的firebase副规范荚的版本,但是在使用pod install安装fix时出现了一些错误。我使用pod outdated命令检查了所有子规范的最新版本,然后将所需的版本放在子规范的前面。
我试过运行pod repo update,但即使这样也不起作用
Podfile
pod 'Firebase','6.23.0'
pod 'Firebase/Analytics'
pod 'Firebase/Messaging'
pod 'Firebase/Dynami
当我做我的第一个部署功能,我不能部署,因为我有错误,要求我升级到我的帐户,我需要知道,我可以部署功能时,我使用免费帐户?
输出:
i deploying functions
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
! functions: missing required API cloudbuild.googleapis
我有一个部署了多个功能的firebase项目。是否有可能在一次通过CLI删除所有函数?
我尝试了命令firebase functions:delete --region us-central1,错误输出是Error: Must supply at least function or group name.
到目前为止,我删除了所有这些代码,它们都指定了各自的名称:firebase functions:delete function1 function2 ...functionN,但是这非常麻烦。
安装的firebase工具版本为v4.0.0。
我试图每分钟增加一个Firestore字段的值1,因此我创建了一个计划好的云函数:
import * as functions from 'firebase-functions';
import * as admin from 'firebase-admin';
admin.initializeApp();
const db = admin.firestore();
const ref = db.collection('count').doc('currentTrack');
export const everyMinuteJ
当我运行firebase deploy时,只部署我的函数,而不是我的主机。
=== Deploying to 'project1'...
i deploying functions
i functions: ensuring necessary APIs are enabled...
✔ functions: all necessary APIs are enabled
i functions: preparing functions directory for uploading...
i functions: packaged functions (36.04