Xcode builds with malformed error
Asked Answered
B

1

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'

Bicycle answered 8/4, 2014 at 15:55 Comment(3)
Quit Xcode and delete the DerivedData folder referred to in that message (/Users/dev/Library/Developer/Xcode/DerivedData/).Adumbral
@Adumbral use "resolvable" paths... $HOME/Library/Developer/Xcode/DerivedDataNoumenon
@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.Adumbral
C
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

Casseycassi answered 13/8, 2014 at 3:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.