Page 1 of 1

Issue of rebuilt OGRE SDK with XCode 7 - App crashed

Posted: Wed Aug 31, 2016 12:47 pm
by khoapn
Recently, we rebuilt OGRE SDK (OGRE 1.9) to support Enable bitcode on iOS
We are using XCode version 7.3

But our application is killed on iOS 8, iPhone 5/5C (phenomenon as below)
Other is OK.

Have you ever encountered this problem?
And do you have any suggestion to us?

Thank you so much!
--------------------------------------------------------------
◇Environment
Xcode 7.3.1
◇Devices
iPhone5, iOS 8.4.1
iPhone5, iOS 8.3
◇Phenomenon:
  The app is killed for BAD_ACCESS
  ⇒OgreApp.cpp の[void OgreApp::setupDemoScene()]
[error_screen_shot.png]参照。
<Other>
iPhone6s, iOS 9.3.2/iPhone5s, iOS 9.2.1 are not occurred.

Re: Issue of rebuilt OGRE SDK with XCode 7 - App crashed

Posted: Thu Sep 01, 2016 11:48 am
by farrer
Try setting Xcode optimization level to 'none' and see if it helps.

Re: Issue of rebuilt OGRE SDK with XCode 7 - App crashed

Posted: Thu Sep 01, 2016 12:43 pm
by khoapn
> Try setting Xcode optimization level to 'none' and see if it helps.

Thanks for your great support

We tried it, the app is not crashed
But another problem appears: the 3D model animation become very slow that not be acceptable

Do you have any other suggestion?

Re: Issue of rebuilt OGRE SDK with XCode 7 - App crashed

Posted: Wed Sep 07, 2016 5:50 am
by khoapn
Anyone else has ideas?

Re: Issue of rebuilt OGRE SDK with XCode 7 - App crashed

Posted: Thu Sep 08, 2016 3:21 pm
by farrer
It's hard to known without knowing what you are doing (code snippets, etc).
It could be even the case that disabling the code optimizations just hides something that was wrong - both on your code or even in ogre's. The slowdown only happens iphone 5 or on other devices? I would recommend to debug the code to see what is taking too much time, and to compare with other devices if possible.