Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"bad packing" notification in xcode console

Tags:

xcode6

ios8

After switching to xcode 6 I began to receive this notification in the console when running my app on iOS8 iphone simulator or real device.

What I see in my log after i receive some data from forecast server is something like this:

2014-09-22 16:51:20.159 MyApp[44700:1507801] {
cloudiness = 3;
dayTime = 2;
precipitation = 10;
status = 1;
temperature = 16;
}
bad packing
bad packing

Does anyone have a clue where to search for a process that could send that "bad packing" message?

like image 815
Thorax Avatar asked Sep 22 '14 12:09

Thorax


1 Answers

In my case, this message is printed when calling [UIImage initWithContentsOfFile:cache:] function.

It could be some other image loading function. (I found this by adding Symbolic Breakpoint - "puts" function.)

It seems that some information of JPEG image is invalid or Apple's image decoder does not handle correctly.

I think this problem could be ignored if everything works fine.

Anyway, when I re-saved all images using other image editor, this message is disappeared.

like image 195
UnknownStack Avatar answered Oct 19 '22 14:10

UnknownStack