SDL_CreateWindow fails on the iPhone BAD_EXC_ACCCESS. Help!

Hi friends!

I created a project, an iphone game. Everything works fine. I duplicated this project and in my new one I receive a BAD_EXC_ACCESS on SDL_CreateWindow. Only in my phone, in the simulator works fine.

Do you have any idea what is going on?

Your help is very valuable for me, thanks a lot.

screenshoot:

[Image: http://img169.imageshack.us/img169/4268/imagen1j.png ] (http://img169.imageshack.us/i/imagen1j.png/)

After changing “Optimization Level”, works fine.