Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to load contents of file list: '/Target Support Files/Pods-Salotime/Pods-Salotime-frameworks-Debug-input-files.xcfilelist'

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:

enter image description here

when i try to build the project , i got the following error: "'/Target Support Files/Pods-Salotime/Pods-Salotime-frameworks-Debug-output-files.xcfilelist'"

enter image description here

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 .

like image 406
saleem Avatar asked Dec 03 '25 13:12

saleem


1 Answers

This is what worked for me:

  1. delete the platforms and plugins folder
  2. remove the cached data rm -rf ~/Library/Caches/Cocoapods
  3. Remove Derived Data rm -rf ~/Library/Developer/Xcode/DerivedData
  4. run pod deintegrate
  5. run pod setup
  6. run pod install
  7. re run whatever build command you have to recreate your platforms and plugins folder

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

like image 117
maxwe11 Avatar answered Dec 06 '25 05:12

maxwe11



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!