LoginSignup
15
14

More than 5 years have passed since last update.

[Cocos2d-x] Xcode7.3にしたらSpriteでpng読み込み時にlibpng error: CgBI: unhandled critical chunk

Last updated at Posted at 2016-03-24

Xcode7.3にしてから実機でcocos2d-xで開発したものが実機でビルドするとエラーがでるようになってしまった・・

libpng error: CgBI: unhandled critical chunk

新規で作ったCocosのプロジェクトも同じエラーで動かないためいろいろ調べていたところどうもXcodeでPngファイルいじっている箇所がBuild Settingsにありました

スクリーンショット 2016-03-24 11.56.46.png

Remove Text Metadata From Png FilesがYesになっていたのでNoにしたところ実機のビルドが通るようになりました。

15
14
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
14