https://github.com/cocos2d/cocos2d-x/issues/15199
zartako commented
24 days ago
slackmoehrle commented
22 days ago
I don't have Xcode 7.3 yet, but I can snag it and try to reproduce this.
slackmoehrle commented
9 days ago
XCode 7.3 final comes out today. I will try with this version. Beta 5 seemed to work.
rws08 commented
9 days ago
I have this problem too. using Xcode 7.3(7D175) and iOS 9.3.
libpng error: CgBI: unhandled critical chunk
cocos2d: SpriteFrameCache: couldn't load texture file.
CCImage.cpp
bool Image::initWithPngData(const unsigned char * data, ssize_t dataLen){
...
png_read_info(png_ptr, info_ptr); // problem code
...
}
slackmoehrle commented
9 days ago
Thanks. I am downloading the latest XCode 7.3 build. Takes me quite some time.
If I try to load a sprite it fails with this error on the console:
libpng error: CgBI: unhandled critical chunk.
Everything works fine when I run it on simulator, only happens when running in device. If it might help, I am using Xcode 7.3 beta and iOS 9.3 beta. Downgrading to Xcode 7.2 solve the problem.