React native firebase/admob iOS pod 安装问题
React native firebase/admob iOS pod install problems
我正在尝试使用以下命令安装 @react-native-firebase/admob:
npm install @react-native-firebase/admob
之后,当我进入项目的 ios 文件夹并使用 :
- pod repo update
- pod install
我收到以下错误:
[!] CocoaPods could not find compatible versions for pod
"Firebase/AdMob": In Podfile:
RNFBAdMob (from ../node_modules/@react-native-firebase/admob
) was resolved to 11.5.0, which depends on
Firebase/AdMob (= 8.8.0)
None of your spec sources contain a spec satisfying the dependency:
Firebase/AdMob (= 8.8.0)
.
You have either: * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`. *
mistyped the name or version. * not added the source repo that hosts
the Podspec to your Podfile.
有人可以帮助我吗?我正在使用:
- 节点版本 14.17.6
- npm 版本 6.14.15
- CocoaPods 1.11.2
- 平台ios'11.0'
很难找到适用于 React native 的 admob 包,但有一些方法。 可以帮助你,尝试答案中提到的说明并确保你安装了正确的包。
我正在尝试使用以下命令安装 @react-native-firebase/admob:
npm install @react-native-firebase/admob
之后,当我进入项目的 ios 文件夹并使用 :
- pod repo update
- pod install
我收到以下错误:
[!] CocoaPods could not find compatible versions for pod "Firebase/AdMob": In Podfile: RNFBAdMob (from
../node_modules/@react-native-firebase/admob
) was resolved to 11.5.0, which depends on Firebase/AdMob (= 8.8.0)None of your spec sources contain a spec satisfying the dependency:
Firebase/AdMob (= 8.8.0)
.You have either: * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`. *
mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile.
有人可以帮助我吗?我正在使用:
- 节点版本 14.17.6
- npm 版本 6.14.15
- CocoaPods 1.11.2
- 平台ios'11.0'
很难找到适用于 React native 的 admob 包,但有一些方法。