The problem is that the compiler does not recognize UIImage .
This is because you only import Foundation , but UIImage declared in UIKit .
Change line 50 in UIImageEffects.h from
#import <Foundation/Foundation.h>
to
@import UIKit;
After this, projects are built without problems!
In your Objective-C projects, you most likely imported UIKit into your file with precompiled .pch headers.
source share