Serious message when compiling my program for ios

Monkey Targets Forums/iOS/Serious message when compiling my program for ios

pit(Posted 2015) [#1]
Here is the message displayed when running my program from Xcode:

Jan 10 15:06:47 Macintosh.local MonkeyGame[2807] <Error>: CGBitmapContextCreate: unsupported color space.
Jan 10 15:06:47 Macintosh.local MonkeyGame[2807] <Error>: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Jan 10 15:06:47 Macintosh.local MonkeyGame[2807] <Error>: CGBitmapContextCreate: unsupported color space.
Jan 10 15:06:47 Macintosh.local MonkeyGame[2807] <Error>: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

Any idea about this important warning ?

Cheers

Pit


Amon(Posted 2015) [#2]
A quicky session with google and the second link seems promising;

http://stackoverflow.com/questions/8794218/iphone-sdk-error-cgbitmapcontextcreate-unsupported-color-space


pit(Posted 2015) [#3]
Thanks Amon .

But as it's code generated by Monkey, how can I modify this ?

Pit


Difference(Posted 2015) [#4]
As I recall, you just need to change the problematic image(s) to 24 bit in your favourite image editor and re-save.
Don't worry too mush about the increased filesize, XCode compresses everything on compile anyway.


pit(Posted 2015) [#5]
Thanks Difference !

I try it right now

Cheers

Pit