fatal error: malformed or corrupted AST file - Xcode

后端 未结 20 1631
一向
一向 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:38

    Refreash Safari browser, scroll down the page and you will see you "Click + button for add build ..." then add actual build, click Save and "Waiting for Review"

    0 讨论(0)
  • 2020-12-02 15:38

    In my case, I tried to archive a app in one project within a xcodeworkspace

    close Xcode, the open the single target project, and clean an Then, I do archive, it makes an iOS App archive.

    I hope I can help someone.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-02 15:40

    Press Command + shift + k or clean the project and then run project...

    0 讨论(0)
  • 2020-12-02 15:40

    In Xcode select Product-->Clean problem will be solved

    0 讨论(0)
  • 2020-12-02 15:44

    In my case the SSD was broken. You can verify the disk with apples Disk Utility

    0 讨论(0)
提交回复
热议问题