Serious message when compiling my program for ios
Monkey Targets Forums/iOS/Serious message when compiling my program for ios
| ||
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 |
| ||
A quicky session with google and the second link seems promising; http://stackoverflow.com/questions/8794218/iphone-sdk-error-cgbitmapcontextcreate-unsupported-color-space |
| ||
Thanks Amon . But as it's code generated by Monkey, how can I modify this ? Pit |
| ||
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. |
| ||
Thanks Difference ! I try it right now Cheers Pit |