Mobile/iOS

[iOS] fatal error: malformed or corrupted AST file 해결

out of coding 2017. 11. 27. 12:07

xcode가 다음 메세지를 표시하면서 빌드가 안될때.


fatal error: malformed or corrupted AST file: 'could not find file '\~.h' referenced by AST file' note: after modifying system headers, please delete the module cache at '~'


해결방법.


xcode > Preferences > Locations > Derived Data > ModuleCache Delete


그러면 잘됨.