[SOLVED] HelloWorld error: libpng error: CgBI: unhandled critical chunk

Until yesterday my project (which uses cocos2dx 3.9) worked fine, then all of a sudden it stopped loading sprites. Now, whenever I try to load a sprite it fails (but does not crash) with this error on the console: libpng error: CgBI: unhandled critical chunk. I looked around and found that it could be Xcode’s fault, which by default applies some compression on PNGs, but I checked and PNG compression is already disabled. Now, to save some time I simply downloaded cocos2dx 3.10 and built the default HelloWorld project, to see whether the problem is originated by my project, but to my surprise it had the same bug. What is even more confusing is that everything works fine when I run it on Mac OS X. If it might help, I am using Xcode 7.3 beta and iOS 9.3 beta, but I don’t think it is the problem because everything worked fine until yesterday… Do you have any idea how to solve this?

Edit 1

I tried downgrading to iOS 9.2.1 but that did not solve the problem.

Edit 2

Downgrading to Xcode 7.2 solved the problem.