{"action":"opened","issue":{"url":"https://api.github.com/repos/kif-framework/Lela/issues/13","labels_url":"https://api.github.com/repos/kif-framework/Lela/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/kif-framework/Lela/issues/13/comments","events_url":"https://api.github.com/repos/kif-framework/Lela/issues/13/events","html_url":"https://github.com/kif-framework/Lela/issues/13","id":77678547,"number":13,"title":"imageWithContentsOfFile can't find the filepath error - expectScreenToMatchImageNamed","user":{"login":"UXDart","id":2946059,"avatar_url":"https://avatars.githubusercontent.com/u/2946059?v=3","gravatar_id":"","url":"https://api.github.com/users/UXDart","html_url":"https://github.com/UXDart","followers_url":"https://api.github.com/users/UXDart/followers","following_url":"https://api.github.com/users/UXDart/following{/other_user}","gists_url":"https://api.github.com/users/UXDart/gists{/gist_id}","starred_url":"https://api.github.com/users/UXDart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UXDart/subscriptions","organizations_url":"https://api.github.com/users/UXDart/orgs","repos_url":"https://api.github.com/users/UXDart/repos","events_url":"https://api.github.com/users/UXDart/events{/privacy}","received_events_url":"https://api.github.com/users/UXDart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-18T14:30:51Z","updated_at":"2015-05-18T14:30:51Z","closed_at":null,"body":"Hello. For some reason [imageWithContentsOfFile:] doesn't find the path file image, but using NSData it works, is anyone else having this problem? is anyone using Lela? :)\r\n\r\n+ (UIImage *)expectedImageWithName:(NSString *)name\r\n{\r\n    NSString *fileName = [[self imageNameForScreenNamed:name] stringByAppendingPathExtension:@\"png\"];\r\n    NSString *filePath = [[self directoryForExpectedImages] stringByAppendingPathComponent:fileName];\r\n    NSData *data = [NSData dataWithContentsOfFile:filePath]; //I changed these next 2 lines\r\n    return [UIImage imageWithData:data];\r\n}\r\n\r\ncan you change it? I'm using cocoapods!\r\n\r\nnote: using iOS 8.3 with ipad 2 simulator\r\n\r\nTIA!"}}