Page 1 of 1

Ogre samples on iOS 7.0.3 crash when run in simulator

Posted: Thu Nov 14, 2013 5:38 pm
by yvesa
Hello,
I was running ogre samples from branch 1.9 on iPad simulator for iOS 7.0.3 from XCode and the app would stop on the initial splash screen with the ogre head.

After some investigation i found that glesw2.cpp open_libgl method is using [UIDevice currentDevice].systemVersion to find the framework path but the version is 7.0.3 but the actual file system path for the simulator is 7.0 (i.e. without .3).

Do you reckon that this is only a configuration issue in my simulator or that this should be updated in the source?
When I hardcoded 7.0 in the framework path, the samples run ok in the simulator.

I am using OSX 10.8.5, XCode 5.0.2 and IPad Simulator 7.0, iOS 7.0.3.
The source was downloaded from 1.9 branch 190724415236 on 12-Nov-2013.

Thanks
yv

Re: Ogre samples on iOS 7.0.3 crash when run in simulator

Posted: Thu Nov 14, 2013 8:29 pm
by masterfalcon
Just discovered this yesterday myself. I have it fixed and will push tonight.

Re: Ogre samples on iOS 7.0.3 crash when run in simulator

Posted: Fri Nov 15, 2013 1:42 pm
by yvesa
Great, thanks.