Updated project files in order to fix build errors (added link to UIKit and CoreGraphics frameworks). Fixed unit tests fail - XCTAssertEqual validates the arguments types. Added explicit type cast.
Removing CoreGraphics dependency introduced by a pull request.