【发布时间】:2021-03-10 17:36:49
【问题描述】:
我的 Xcode 版本:12.2
我的 pod 版本:1.10.0
我的科尔多瓦版本:10.0.0
node.js 版本:12.16.3
我使用cordova,我只是尝试安装firebesex插件:https://www.npmjs.com/package/cordova-plugin-firebasex 该插件依赖于各种组件,例如 iOS 上的 Cocoapods 在构建时引入的 Firebase SDK。
我的 pod 文件:
当我尝试构建项目时,出现以下错误:“'/Target Support Files/Pods-Salotime/Pods-Salotime-frameworks-Debug-output-files.xcfilelist'”
虽然文件在正确的路径中,但加载文件内容并不成功
“Pods-Salotime-frameworks-Debug-input-files.xcfilelist”的内容:
${PODS_ROOT}/Target Support Files/Pods-Salotime/Pods-Salotime-frameworks.sh
${BUILT_PRODUCTS_DIR}/FirebaseCore/FirebaseCore.framework
${BUILT_PRODUCTS_DIR}/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework
${BUILT_PRODUCTS_DIR}/FirebaseInstallations/FirebaseInstallations.framework
${BUILT_PRODUCTS_DIR}/GoogleDataTransport/GoogleDataTransport.framework
${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework
${BUILT_PRODUCTS_DIR}/PromisesObjC/FBLPromises.framework
${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework
Pods-Salotime-frameworks-Debug-output-files.xcfilelist的内容
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCore.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCoreDiagnostics.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseInstallations.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleDataTransport.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBLPromises.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework
我已经尝试过使用 1-pod 分解 2-pod 更新
但还是不行。
【问题讨论】:
-
这里一样,没有解决方案?
-
在 POD 构建阶段删除这些输入和输出参数,然后“pod install”为我修复了它。
-
这里也一样。尝试 maxwe11 答案。
标签: ios xcode firebase cordova cordova-plugins