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')
解决方案
- sudo gem update cocoapods --pre
- pod update
- clean
- File -> Workspace Settings -> Build System -> Legacy Build System
- build
另外看到 stackoverflow 有这样用的 可以提供参考
Open Terminal
- run -> pod deintegrate
- run -> pod install
In Xcode
- Click Product Menu
- Keep Pressing Option Button
- Click Clean Build Folder
- Run
附上stackoverflow 链接 https://stackoverflow.com/questions/55505991/xcode-10-2-update-issue-build-system-error-1-unable-to-load-contents-of-file-l