- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试在 iOS 中运行我的 React Native 应用程序时出现此错误:
[!] CocoaPods could not find compatible versions for pod "Firebase/Auth":
In Podfile:
Firebase/Auth
RNFBAuth (from `../node_modules/@react-native-firebase/auth`) was resolved to 10.5.1, which depends on
Firebase/Auth (~> 7.4.0)
CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In Podfile:
Firebase/Crash was resolved to 5.0.0, which depends on
Firebase/Core (= 5.0.0) was resolved to 5.0.0, which depends on
Firebase/CoreOnly (= 5.0.0)
RNFBApp (from `../node_modules/@react-native-firebase/app`) was resolved to 10.5.0, which depends on
Firebase/CoreOnly (~> 7.4.0)
RNFBDatabase (from `../node_modules/@react-native-firebase/database`) was resolved to 10.5.1, which depends on
Firebase/Database (~> 7.4.0) was resolved to 7.4.0, which depends on
Firebase/CoreOnly (= 7.4.0)
CocoaPods could not find compatible versions for pod "Firebase/Database":
In Podfile:
Firebase/Database
RNFBDatabase (from `../node_modules/@react-native-firebase/database`) was resolved to 10.5.1, which depends on
Firebase/Database (~> 7.4.0)
CocoaPods could not find compatible versions for pod "Firebase/Firestore":
In Podfile:
Firebase/Firestore
RNFBFirestore (from `../node_modules/@react-native-firebase/firestore`) was resolved to 10.5.1, which depends on
Firebase/Firestore (~> 7.4.0)
CocoaPods could not find compatible versions for pod "Firebase/Messaging":
In Podfile:
Firebase/Messaging
RNFBMessaging (from `../node_modules/@react-native-firebase/messaging`) was resolved to 10.5.1, which depends on
Firebase/Messaging (~> 7.4.0)
CocoaPods could not find compatible versions for pod "Firebase/Storage":
In Podfile:
Firebase/Storage
RNFBStorage (from `../node_modules/@react-native-firebase/storage`) was resolved to 10.5.1, which depends on
Firebase/Storage (~> 7.4.0)
CocoaPods could not find compatible versions for pod "FirebaseCore":
In Podfile:
Firebase/Crash was resolved to 3.9.0, which depends on
Firebase/Core (= 3.9.0) was resolved to 3.9.0, which depends on
FirebaseCore (= 3.4.4)
RNFBDatabase (from `../node_modules/@react-native-firebase/database`) was resolved to 10.5.1, which depends on
Firebase/Database (~> 7.4.0) was resolved to 7.4.0, which depends on
Firebase/CoreOnly (= 7.4.0) was resolved to 7.4.0, which depends on
FirebaseCore (= 7.4.0)
RNFBDatabase (from `../node_modules/@react-native-firebase/database`) was resolved to 10.5.1, which depends on
Firebase/Database (~> 7.4.0) was resolved to 7.4.0, which depends on
FirebaseDatabase (~> 7.4.0) was resolved to 7.4.0, which depends on
FirebaseCore (~> 7.0)
CocoaPods could not find compatible versions for pod "FirebaseInstanceID":
In Podfile:
Firebase/Crash was resolved to 3.2.0, which depends on
FirebaseCrash (= 1.0.4) was resolved to 1.0.4, which depends on
FirebaseInstanceID (~> 1.0)
RNFBMessaging (from `../node_modules/@react-native-firebase/messaging`) was resolved to 10.5.1, which depends on
Firebase/Messaging (~> 7.4.0) was resolved to 7.4.0, which depends on
FirebaseMessaging (~> 7.4.0) was resolved to 7.4.0, which depends on
FirebaseInstanceID (~> 7.0)
我的 package.json 是:
{
"name": "prueba3000",
"version": "1.1.0",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"eslint": "eslint **/*.tsx **/*.ts",
"build-testing": "cd android && ./gradlew assembleRelease",
"build-android": "cd android && ./gradlew bundleRelease",
"clean": "cd android && ./gradlew clean",
"postinstall": "npx jetify"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-native-fontawesome": "^0.2.3",
"@react-native-community/async-storage": "^1.9.0",
"@react-native-community/clipboard": "^1.5.1",
"@react-native-community/datetimepicker": "^3.0.8",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-community/hooks": "^2.6.0",
"@react-native-community/image-editor": "^2.3.0",
"@react-native-community/masked-view": "^0.1.7",
"@react-native-community/slider": "^3.0.3",
"@react-native-firebase/app": "^10.5.0",
"@react-native-firebase/auth": "^10.5.1",
"@react-native-firebase/database": "^10.5.1",
"@react-native-firebase/firestore": "^10.5.1",
"@react-native-firebase/messaging": "^10.5.1",
"@react-native-firebase/storage": "^10.5.1",
"@react-navigation/native": "^5.1.3",
"@react-navigation/stack": "^5.2.6",
"@types/bcrypt": "^3.0.0",
"bcrypt": "^5.0.0",
"json2formdata": "^1.0.4",
"lottie-ios": "^3.1.3",
"lottie-react-native": "^3.3.2",
"moment": "^2.24.0",
"object-to-formdata": "^4.1.0",
"react": "17.0.1",
"react-native": "^0.63.4",
"react-native-camera": "^3.31.0",
"react-native-countdown-component": "^2.7.1",
"react-native-device-info": "^7.3.1",
"react-native-document-picker": "^4.1.0",
"react-native-fs": "^2.16.6",
"react-native-gesture-handler": "^1.9.0",
"react-native-gifted-chat": "^0.16.3",
"react-native-linear-gradient": "^2.5.6",
"react-native-modal-datetime-picker": "^9.1.0",
"react-native-progress": "^4.1.2",
"react-native-reanimated": "^2.0.0-alpha.9.2",
"react-native-safe-area-context": "^3.1.9",
"react-native-screens": "^2.4.0",
"react-native-splash-screen": "^3.2.0",
"react-native-svg": "^12.0.3",
"react-native-video": "^5.1.0-alpha8",
"react-native-video-controls": "^2.6.0",
"rn-fetch-blob": "^0.12.0",
"sprintf-js": "^1.1.2",
"tipsi-stripe": "^7.5.3"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/runtime": "^7.8.7",
"@react-native-community/eslint-config": "^2.0.0",
"@svgr/cli": "^5.2.0",
"@types/jest": "^26.0.16",
"@types/react": "^17.0.0",
"@types/react-native": "^0.63.37",
"@types/react-test-renderer": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"eslint": "^7.15.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"faker": "^5.1.0",
"jest": "^26.6.3",
"jest-transform-stub": "^2.0.0",
"jetifier": "^1.6.6",
"metro-react-native-babel-preset": "^0.64.0",
"react-test-renderer": "17.0.1",
"typescript": "^4.1.2"
},
"jest": {
"preset": "react-native"
},
"type": "module"
}
在我的 Podfile 中,我有这个:
platform :ios, '10.1'
我也尝试过 10.0 和 9.0。
pod install
npx pod install
pod install --repo-update
和
pod update Firebase/core
.
pod update Firebase/core
我收到此错误:
[!] No `Podfile.lock' found in the project directory, run `pod install'.
.但我无法进行 pod install。
最佳答案
从项目根文件夹运行命令。
如果 npm
rm -rf node_modules package-lock.json
rm -rf node_modules yarn.lock
npm install
oryarn install
cd ios
rm -rf Pods Podfile.lock
pod install
关于ios - CocoaPods 找不到 pod "Firebase/Everything"的兼容版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66016300/
kubernetes的新手,希望了解使用不同kubernetes对象的最佳实践,并且很难理解“Pods”和“Static Pods”在功能上的主要区别(如果有)吗? 主要问题如下: 问题1:如果有功能
以下是 pods 文件的截图,其中不包含 AFNetworking 库。当我在终端中运行命令 pod install 时,它安装了 AFNetworking 库版本 3.0.1。我无法理解为什么会这样
在通过 pod lib create projectName 创建的目录中执行 pod init 是否受支持?它似乎对我不起作用,但否则如何指定他们正在创建的 pod 的上游依赖项? pod inst
我正在尝试制作一个 Pod::Simple::HTML 的简单子(monad)类用于 Pod::Simple::HTMLBatch .我希望使用 POD::Weaver 对所有 POD 进行预处理.但
根据定义here , POD 是一个简单的类,没有用户定义的构造函数、非静态成员,并且只包含简单的数据类型。 问题是,下面这两个类是否等同于 POD 类型(就内存占用而言): class pod {
使用 Airflow 在 AWS EKS 上运行 KubernetesPodOperator 获取 kubernetes.client.rest.ApiException: (400),指出版本\"v
据我了解,当 POD 与服务对话时,IP 表已由 CNI 提供商更新(这可能特定于某些但不是所有 CNI 提供商)。 iptables 基本上提供了一个虚拟 IP,然后循环或分发(以某种方式)到后端临
我有一个 pod 需要将数据持久保存到 pod 外部的位置。我认为persistentVolume 是一个好主意。名为 writerPod 的 pod 需要对该卷进行读写访问。 多个其他 Pod(我称
我想知道,如果 HPA 考虑一个 pod 中多个容器的 CPU 利用率的平均值,以便向上/向下扩展数量。 pod 。例如,如果我为具有 2 个容器的部署(pod)指定如下所示的 HPA。为了让 HPA
我有以下情况: 我有几个微服务,现在只有两个是相关的。 - Web 套接字服务 API - 调度服务 我们有 3 个用户,我们将分别称为 1、2 和 3。这些用户将自己连接到我们后端的 Web 套接字
我已经注意到,当使用kubectl时,您几乎可以互换使用 pod 和 pods 。是否有任何实例可以使用一个实例而不是另一个实例来获得不同的结果,或者您可以只使用其中一个而不用担心呢? 例如: kub
我尝试使用命令 pod update 更新我的 podfile但它需要永远。 我也按照这个问题做了所有的步骤 cocoapods - 'pod install' takes forever但什么都没有
我正在设置一个 Kubernetes 主节点。 只是主节点,暂时没有工作节点。 使用 this tutorial. 完成设置,没有任何问题现在, $kubectl get pods -o wide -
是否可以在 pod install 期间让一个 Pod 保持不变和pod update ? pod update 不是一个选项。 最佳答案 您实际上可以使用pod update [NAMES...]来
基本上,我有一个部署,它创建了 3 个自动扩展的容器:PHP-FPM、NGINX 和包含应用程序的容器,所有这些都设置了 secret 、服务和入口。该应用程序还在 PHP-FPM 和 NGINX 之
在为Kubernetes创建/添加节点时,我们还必须创建Canal pod。 当前,kubernetes在尝试调度Pod之前不会等待Canal Pod准备就绪,从而导致失败(错误如下) Error s
我正在寻找一个选项来从部署/复制中删除 pod 而不删除它。我找到了一个很好的解决方案 using selector and labels here ,但在我的情况下这是不可能的,因为我不是 pod/
来自 PodInterface两个操作Delete和 Evict似乎具有相同的效果:删除旧 Pod 并创建一个新 Pod。 如果两个操作效果一样,为什么删除一个Pod并创建一个新的Pod需要两个API
Kubernetes版本1.12.3。 kubectl排水是先移开 pods 还是先创建 pods 。 最佳答案 您可以在节点上执行维护(例如内核升级,硬件维护等)之前,使用kubectlrain安全
有没有办法通过主机名访问 pod? 我有一个主机名:my-pod-1需要使用主机名连接到另一个 pod:my-pod-2 . 在没有服务的情况下实现这一目标的最佳方法是什么? 最佳答案 通过您的描述,
我是一名优秀的程序员,十分优秀!