【发布时间】:2021-03-05 22:29:18
【问题描述】:
我有一个在 Android 上完美运行的应用程序:
离子 4 科尔多瓦 9 cordova-plugin-firebase-authentication 3.3.0
现在我想在 IOS 上实现它,我得到了各种错误。
我得到的第一个是cordova-plugin-firebase-authentication 3.3.0 版与cordova-ios 5.1.1(cordova 9 的默认版本)不兼容。它要求我使用高于 6 的 cordova-ios 版本,但该选项对我来说是不可能的,因为我的许多插件停止使用 cordova 10 和 cordova-ios 6.1.1。
所以我尝试降低 cordova-plugin-firebase-authentication 的版本,直到找到适用于 cordova-ios 5.1.1 和 cordova 9 的版本。
但从 3.2.0 版本开始,我收到以下错误:
Failed to install 'cordova-plugin-firebase-authentication': Error: pod: Command failed with exit code 1 Error output:
at ChildProcess.whenDone (/…node_modules/cordova-common/src/superspawn.js:135:23)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
For more information about you at the moment, I have cocoapod 1.10.0 installed.
这就是为什么我问你,如果你们中的任何人能够做到这一点,哪个版本的cordova-plugin-firebase-authentication 与cordova 9 和cordova-ios 5.1.1 配合得很好。 另外,用哪个版本的cocoapod,我会编译好?
干杯!
【问题讨论】:
标签: ios cordova ionic-framework cordova-plugins