views:

389

answers:

4

I'm getting an odd error in my console when running my app sometimes:

ImageIO: ERROR - MetadataLib.dylib not found

I'm not sure what this is related to, but I am running AdMobs ads.

A: 

I got the same error today, and it run ok yesterday.

disorderdev
A: 

Hi, and which is the solution for this bug?

Thank you in advance, K.

kentron
no solution yet.
Sheehan Alam
A: 

Having similar issue myself with no clear resolution that I could use. Saw a post about this on a Japanese blog: araking56.blog134.fc2.com/blog-entry-56.html From what I could glean from a Google Translate, that guy seems to think it's an XCode issue with JPGs in the project and got around it by using PNGs which, unfortunately, are not an option for me at this point.

Looking at my own project, I'm downloading user pictures from a server and loading them into UIImage at which point I get the error "ImageIO: ERROR - MetadataLib.dylib not found". Looking further into it, it appears to be a particular JPEG file that's causing the issue every time it's loaded. I do notice that the JPEG has a bunch of metadata (camera type, date of pic, color and program manipulation, etc); judging from the error I'm getting I'm thinking that there's some sort of bug with how it's handling the picture's metadata. That said, not quite sure how to proceed at this point for myself since I don't think there's an easy way to strip this info from the photo on the iPhone easily (a workaround that would be similar to Araking's solution).

Nobosi
If anyone can replicate this on a device, please let me know; so far, the issue only appears on the Simulator for me.
Nobosi