If it's compile time errors then it's nothing to do with the libraries you're linking against. This error sounds very much like you haven't included the UIKit headers. Make sure that you have #import <UIKit/UIKit.h> in the files that you're using UIImage and CGSize in.