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 » Thu Nov 14, 2013 5:38 pm

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
0 x

User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
Contact:

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

Post by masterfalcon » Thu Nov 14, 2013 8:29 pm

Just discovered this yesterday myself. I have it fixed and will push tonight.
0 x

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 » Fri Nov 15, 2013 1:42 pm

Great, thanks.
0 x

Post Reply