Reputation: 113
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'
Upvotes: 10
Views: 6401
Reputation: 598
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
Upvotes: 11