After several changes to my project I suddenly get this build error:
<Reference to \'kCGImageAlphaPremultipliedLast\' is ambiguous
I have got this problem when I have imported a header file twice. After one of them is removed, the problem disappears.
Ok after creating a new Project and coping everything to this project the build was successful however i got this "Malformed or corrupted AST file" error several times again but it can be solved by:
after that it works just fine except that i have to do this fix from time to time
i also did a diff to the old project and it seems a lot of frameworks and other old stuff got stuck in there from testing things so in case you have this check your project settings file for old stuff.
i thought that xcode and me can be friends one day. guess not...
Remove use_frameworks! from pod file fix my ambiguous problem.
I just had the same warnings littering up my build report (but only under the triangle). In the end what worked for me was to insure that EVERY usage of:
#import <Module/Module.h>
in the app was replaced by:
@import Module;
Now all those annoying warnings are gone!
Well some solutions here are nice but use_frameworks! is exactly what I need now even thou it made this problem happening. But it looks like build does not like when I use frameworks and header is referenced twice like this
#import "TSMessage.h"
#import "TSMessage+CSExtension.h"
but problem gets away when it compiles like this
#import "TSMessage+CSExtension.h"
This's maybe you import like this:
#import "xxxx.h"
I fix it through this:
#import < xxxx/xxxx.h>