Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist

后端 未结 11 2029
慢半拍i
慢半拍i 2020-12-14 05:57

After upgrading to Xcode 10.2 I am getting 2 errors

:-1: Unable to load contents of file list: \'xxxxx/Pods/Target Support Files/Pods-xxxx/Pods-xxx

相关标签:
11条回答
  • 2020-12-14 06:26

    I have the same issue and do the below steps and now am able to make build successful

    1. go to Project->Configurations and set the valid configuration file for configuration.

    2. if you see already set correct valid configuration file then do pod install

    3. if you are not able see valid configuration file then pod install and Now you can see the valid configuration file just choose the right one now.

    Note : I have this issue on Xcode 11.7

    0 讨论(0)
  • 2020-12-14 06:28

    For me, this was caused because I was setting up a custom configuration (.xcconfig) file for different environments. I wasn't importing the Pods/Target Support Files/Pods-XXXXXX/Pods-XXXXXX.release.xcconfig into my configuration file.

    This guide helped me find the missing step. https://thoughtbot.com/blog/let-s-setup-your-ios-environments

    Thanks Patrick.

    0 讨论(0)
  • 2020-12-14 06:29

    To illustrate the answer of @nfranzmeier:

    Go to your project:

    • Select the right target
    • Build Phases
    • Unfold [CP] Embed Pods Frameworks script phase
    • Remove the files under Input Files Lists and Output Files Lists sections by selecting each of them and clicking on the - button

    And you're done!

    0 讨论(0)
  • 2020-12-14 06:30
    1. delete 'Pods/', 'Podfile.lock', 'yourappname.xcworkspace'
    2. pod deintegrate
    3. pod install

    it's work for me

    I have encountered this problem every time, using the above method to solve, I do not know why, how to completely solve

    0 讨论(0)
  • 2020-12-14 06:30

    You can just edit your xxxx.xcodeproj/project.pbxproj file and delete the offending lines xxxinput-files.xcfilelist and xxxoutput-files.xcfilelist from the inputFileListPaths() outputFileListPaths() so they're empty again and then save it and rebuild

    0 讨论(0)
提交回复
热议问题