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.