fatal error: malformed or corrupted AST file - Xcode

后端 未结 20 1700
一向
一向 2020-12-02 14:57

I get this error when building my app in the latest version of Xcode:

fatal error: malformed or corrupted AST file: \'Unable to load module \"/Users

20条回答
  •  死守一世寂寞
    2020-12-02 15:39

    I did Clean cached, Delete derived data, Manually delete the Module cache folders which found from the error logs, Restart xcode, Restart machine. But non of them helped me.

    But this steps help me to resolve the issues

    • Comment out all the #import line in [Name]-Prefix.pch files.
    • Build, as expected its pointing me to different errors.
    • Revert back the changes I have done in [Name]-Prefix.pch and Build, compilation succeeded.

    This solution help me to resolve the issue.

提交回复
热议问题