12

all my xcode project have this kind of error in the modulecache

fatal error: malformed or corrupted AST file: 'Unable to load module "/Users/FollowmeCrazy/Library/Developer/Xcode/DerivedData/ModuleCache/3C4GAENHLL37T/Darwin.pcm": module file not found'

I already delete the derived data in the xcode then clean it still nothing happens.

how can i resolve this?

Kelvz
  • 163
  • 1
  • 1
  • 13

2 Answers2

16

You can delete Derived Data from Terminal:

rm -rf ~/Library/Developer/Xcode/DerivedData/*
Ricardo
  • 2,086
  • 25
  • 35
6

In Xcode, go to Window-> Organizer ->Projects, select your project, and press the "Delete" button next to "Derived Data".

If this doesn't work, you can try Product->Clean (Cmd+Shift+k).

Sreeraj VR
  • 1,524
  • 19
  • 35