: ImageIO: PNG invalid PNG file: extra chunks between iDOT and IDAT

后端 未结 4 831
囚心锁ツ
囚心锁ツ 2021-01-11 19:44

Just got this funny looking error in my swift project debugger.

There is probably an invalid name of an image somewhere, but I am not sure what extra chunks b

4条回答
  •  孤独总比滥情好
    2021-01-11 20:26

    In XCode 8, I cleaned the project (Product->Clean). Then quit XCode. Open it again. Then it works. I haven't changed name of the image. I guess it is just because XCode has some problem. Nothing is wrong with your code.

提交回复
热议问题