Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist
Solution 1:
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.
Solution 2:
- 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
Solution 3:
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!
Solution 4:
None of the solutions above worked for me. What did the trick was:
-
Go to Xcode > Project > Info > Configurations
-
Set the values for Debug > Pods-XXX.debug and Release = Pods-XXX.release
This solved the issue for me on Xcode 12.0 beta