After several changes to my project I suddenly get this build error:
<Reference to \'kCGImageAlphaPremultipliedLast\' is ambiguous
use
#import "anyviewcontroller.h"
instead of any module
@import anymodule;
I am using LGSideMenuController, when i integrate it first time, it is working well, but i don't know why i got this error after some time.
so i replaced module @import LGSideMenuController;
into header file Like this
#import "UIViewController+LGSideMenuController.h"
and error goes away.
For anyone still struggling with issue: Non of the of the proposed solutions worked in my case. I'm compiling all my frameworks using Carthage and was getting these errors in my main project whenever I import a header of a framework that's using a framework used also by my main project. What eventually solved it was disabling 'Modules' on the main project.