fatal error: malformed or corrupted AST file - Xcode

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

    Cleaning the project and deleting the drive data didn't fix it for me. But what finally fixed it was changing the model of simulator that I used.

    So first do a clean, then if you were running it on iPhone 5 simulator, run it on iPhone 5s simulator to fix the issue. basically, run it on any other simulator other than the one you were running.

    (Credit to Hlung for his answer, I hope this one is a bit more clear)

提交回复
热议问题