[Unknown process name] CGImageCreate: invalid image bits/component: 8 bits/pixel 24 alpha info = ...

很多人升级iOS12之后会发现图片加载不出来,并报错

[Unknown process name] CGImageCreate: invalid image bits/component: 8 bits/pixel 24 alpha info = kCGImageAlphaNoneSkipLast

解决办法是直接更新SDWebImage最新版本。原因是SDWebImage对WebP格式的图片解码出错导致的。

具体原因见SDWebImage。

你可能感兴趣的:([Unknown process name] CGImageCreate: invalid image bits/component: 8 bits/pixel 24 alpha info = ...)