Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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-xxxxx-frameworks-Debug-input-files.xcfilelist' (in target 'xxxxx')

:-1: Unable to load contents of file list: 'xxxxx/Pods/Target Support Files/Pods-xxxxx/Pods-xxxxx-frameworks-Debug-output-files.xcfilelist' (in target 'xxxxx')

I updated all my pod and changed build system to "Legacy Build System" but still getting the same build error

like image 486
Diptendu Das Avatar asked Apr 04 '19 00:04

Diptendu Das


3 Answers

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.

like image 131
madiver Avatar answered Oct 19 '22 20:10

madiver


  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

like image 41
symbool Avatar answered Oct 19 '22 19:10

symbool


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!

Input/Output Files Lists sections

like image 47
Artheyn Avatar answered Oct 19 '22 21:10

Artheyn