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

泪湿孤枕 提交于 2019-11-30 08:02:05
madiver

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.

symbool
  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

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!

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

This solved my problem:

1) pod deintegrate
2) pod install
3) Click Product Menu
4) Keep Pressing Option Button
5) Click Clean Build Folder
6) Run
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!