nw_host_stats_add_src recv too small, received 24, expected 28

This is a bug with logs in Xcode8 + iOS10.


We can get round it in this way:

When on simulator, add the Name OS_ACTIVITY_MODE and the Value
Variables disable and check it (Product -> Scheme -> Edit Scheme -> Run -> Arguments -> Environment).

enter image description here

When on device, only add OS_ACTIVITY_MODE and check it(don’t add the Value). You’ll see the NSLog in the Xcode8 Console.

enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)