fatal error: malformed or corrupted AST file - Xcode

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

    I got same error on executing xcodebuild command of Xcode6-beta5.app coexisting with Xcode.app (Xcode 5).

    In this case I added -derivedDataPath to separate ModuleCache from the one for default Xcode.app.

      xcodebuild -derivedDataPath ./build/Xcode6-beta5/DerivedData ....
    

    This works for me.

提交回复
热议问题