Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode builds with malformed error

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'

like image 434
user3511110 Avatar asked Apr 08 '14 15:04

user3511110


1 Answers

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

like image 156
Michael Loo Avatar answered Oct 13 '22 22:10

Michael Loo