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

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')

解决方案

  1. sudo gem update cocoapods --pre
  2. pod update
  3. clean
  4. File -> Workspace Settings -> Build System -> Legacy Build System
  5. build

另外看到 stackoverflow 有这样用的 可以提供参考

Open Terminal

  1. run -> pod deintegrate
  2. run -> pod install

In Xcode

  1. Click Product Menu
  2. Keep Pressing Option Button
  3. Click Clean Build Folder
  4. Run

附上stackoverflow 链接 https://stackoverflow.com/questions/55505991/xcode-10-2-update-issue-build-system-error-1-unable-to-load-contents-of-file-l

你可能感兴趣的:(Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output...)