Ogre samples on iOS 7.0.3 crash when run in simulator

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
yvesa
Gnoblar
Posts: 10
Joined: Tue Oct 15, 2013 5:18 pm

Ogre samples on iOS 7.0.3 crash when run in simulator

Post 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
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

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

Post by masterfalcon »

Just discovered this yesterday myself. I have it fixed and will push tonight.
yvesa
Gnoblar
Posts: 10
Joined: Tue Oct 15, 2013 5:18 pm

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

Post by yvesa »

Great, thanks.
Post Reply