10

I am getting three weird errors that I never seen before. Can anyone help me find a solution to these errors?

Definition of CGAffineTransform (aka struct CGAffineTransform) must be imported from module CoreText.CTFontDescriptor before it is required

'Unable to load module "/Users/dev/Library/Developer/Xcode/DerivedData/ModuleCache/17NOBVXZ77TGU/Foundation.pcm": module file out of date'

Malformed or corrupted AST file: 'could not find file '/Users/dev/Documents/App Projects/projectname/./CoreGraphics.framework/Headers/CGAffineTransform.h' referenced by AST file'

Ondrej Rafaj
  • 4,342
  • 8
  • 42
  • 65
user3511110
  • 113
  • 1
  • 8
  • 4
    Quit Xcode and delete the DerivedData folder referred to in that message (_/Users/dev/Library/Developer/Xcode/DerivedData/_). – matt Apr 08 '14 at 15:57
  • @matt use "resolvable" paths... `$HOME/Library/Developer/Xcode/DerivedData` – Alex Gray Apr 24 '14 at 23:11
  • @alexgray It's his computer. It's his error message. I'm helping _him_ (or trying to). I'm using the path in his error message. – matt Apr 24 '14 at 23:16

1 Answers1

11

This seems to be similar to what is mentioned here.

Deleting the folders in the DerivedData folder and do a deep clean with Cmd + Shift + k

Hope that helps,

Regards,

Michael Loo

Community
  • 1
  • 1
Michael Loo
  • 598
  • 5
  • 11