Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist
I struggled with this for several hours today and this is what finally worked for me:
sudo gem update cocoapods --pre
pod update
- clean
- 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.
- delete 'Pods/', 'Podfile.lock', 'yourappname.xcworkspace'
pod deintegrate
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
andOutput Files Lists
sections by selecting each of them and clicking on the-
button
And you're done!