my Xcode Version:12.2
my pod version: 1.10.0
my cordova version: 10.0.0
node.js version:12.16.3
i using cordova and i just try to install firebesex plugin:https://www.npmjs.com/package/cordova-plugin-firebasex
This plugin depends on various components such as the Firebase SDK which are pulled in at build-time by Cocoapods on iOS.
my podfile:
when i try to build the project , i got the following error: "’/Target Support Files/Pods-Salotime/Pods-Salotime-frameworks-Debug-output-files.xcfilelist’"
Although the file is in right path , it’s doesn’t success to load contents of file
the content of "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
the content of 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
i already tried to use
1-pod deintegrate
2-pod update
but still it’s didn’t work .
3
Answers
This is what worked for me:
rm -rf ~/Library/Caches/Cocoapods
rm -rf ~/Library/Developer/Xcode/DerivedData
pod deintegrate
pod setup
pod install
I think this error comes about because of an issue with pods not using semantic versioning. You can read more about this at https://gist.github.com/mbinna/4202236. Clearing derivedData prevent xcode from re-reading the old code
I resolved this issue with….
One possibility is adding path in Input File List by mistake.
Make sure to add path in Input Files, not in Input File List