Seems like you are storing the complete path.
In IOS 8 Apple changed the directory structure.Apple extended folders in documents directory internally(i.e something like /developer/data/some random number sequence).Directory folders keeps on changing on every build,if u store the complete path in your sqlite then you do not find any file at the location because the documents directory location has changed.
The solution is do not store the complete path just store the path from documents directory into the database,while accessing images just prefix it with current application documents directory, then you are able to access your images from your apps directory
Example:
//Storing Images
NSString *imagePathString = [NSString stringWithFormat:@“/%@/%@.png”,@“Your Folder name”,@“image name”];
//Store this image path String to database
//Retrieving Images
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsPath = [paths objectAtIndex:0];
NSString *filePath = [documentsPath stringByAppendingPathComponent:imagePathString];
//This is the path for your images