Bad packaging notification in xcode console

After switching to xcode 6, I started to receive this notification in the console when I launched my application on iOS8 iphone simulator or on a real device.

What I see in my log after receiving some data from the forecast server looks 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 know where to look for a process that could send a bad packaging message?

+6
source share
1 answer

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

This may be some other image upload function. (I found this by adding the Symbolic Breakpoint function - "puts".)

It appears that some information about the JPEG image is invalid or the Apple image decoder is not processing correctly.

I think this problem can be ignored if all goes well.

In any case, when I re-saved all the images using another image editor, this message disappeared.

+2
source

Source: https://habr.com/ru/post/975649/


All Articles