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

后端 未结 11 2028
慢半拍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:09

    None of the solutions above worked for me. What did the trick was:

    1. Go to Xcode > Project > Info > Configurations

    2. Set the values for Debug > Pods-XXX.debug and Release = Pods-XXX.release

    This solved the issue for me on Xcode 12.0 beta

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

    I struggled with this for several hours today and this is what finally worked for me:

    1. sudo gem update cocoapods --pre
    2. pod update
    3. clean
    4. build

    From what I've read, this is an issue with the new build process that is enabled by default in Xcode 10.2 though I've not found the workaround clearly documented anywhere yet. There may be a more elegant solution than what I described.

    0 讨论(0)
  • 2020-12-14 06:14
    In my case 
     -> pod deintegrate
     -> pod clean 
     -> pod install 
     then rebuild the project works fine. 
     My XCode = 11.3.1 
    
    0 讨论(0)
  • 2020-12-14 06:16

    Just pod install fixes this.

    You don't necessarily want to update your pods (especially if you have not locked in versions explicitly). We had this error after creating a new Scheme.

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

    For me (using Mac Mojave) using the above solutions didn't work..

    I manage to successfully overcome this issue by installing RVM on my Mac via:

    curl -L https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --rails
    

    As described on this page.

    And then re-install cocoapods via:

    gem install cocoapods
    

    And lastly run again:

    pod install
    

    I hope this helps someone who was stuck endlessly like me :)

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

    This solved my problem:

    Open **Terminal**
    1) run -> pod deintegrate
    2) run -> pod install
    
    In **Xcode**
    3) Click Product Menu
    4) Keep Pressing Option Button
    5) Click Clean Build Folder
    6) Run
    
    0 讨论(0)
提交回复
热议问题