XCode 6 / iOS 8 working?

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
MrUwd
Gnoblar
Posts: 3
Joined: Wed Nov 12, 2014 5:42 pm

XCode 6 / iOS 8 working?

Post by MrUwd »

Hi - has anyone managed to get Ogre running on the latest XCode 6 / iOS 8?

Since updating to iOS 8 I get a crash on startup. Even my app that's been up on the app store since iOS 5.1 no longer works.

Code: Select all

[b]An exception has occurred: OGRE EXCEPTION(0:IOException): Cannot create settings file. in Root::saveConfig at /Users/davidrogers/Documents/Ogre/ogre-v1-9/OgreMain/src/OgreRoot.cpp (line 394)[/b] 

2014-11-14 12:29:42.574 Test_Ogre_1_9_RC_Test[1275:383061] -[UIApplication terminate:]: unrecognized selector sent to instance 0x17e55f60

2014-11-14 12:29:42.581 Test_Ogre_1_9_RC_Test[1275:383061] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIApplication terminate:]: unrecognized selector sent to instance 0x17e55f60'

*** First throw call stack:

(0x2577ad67 0x332b5c77 0x2578022d 0x2577e109 0x256af938 0x26481dc9 0x25741517 0x25741099 0x2573f303 0x2568c981 0x2568c793 0x2ca3c051 0x28c7e981 0x2a0ab 0x33851aaf)

libc++abi.dylib: terminating with uncaught exception of type NSException
At this line :

Code: Select all

int retVal = UIApplicationMain(argc, argv, @"UIApplication", @"AppDelegate");
Notice that the path DaveRogers isn't mine. However in simulation mode it's the correct path but still the same error.

I've tried 1.8, 1.9, building from source. Crashes on both iPad and Simulation. What could iOS 8 have done to affect this?

I'd be very grateful for any help!

Thanks,
Llyr
Carlyone
Kobold
Posts: 38
Joined: Thu Jul 05, 2012 3:51 pm
x 4

Re: XCode 6 / iOS 8 working?

Post by Carlyone »

Hi Llyr,

I had the same problem on my deployment. I don't really write back to the config so I just removed the lines that would invoke that call.

I think the lines were:

Code: Select all

if(!m_pRoot->showConfigDialog()){
		return false;
        
    }

Code: Select all

Ogre::Root::getSingleton().saveConfig();
Hope that helps.

Kind Regards

Carl
MrUwd
Gnoblar
Posts: 3
Joined: Wed Nov 12, 2014 5:42 pm

Re: XCode 6 / iOS 8 working?

Post by MrUwd »

Thanks - commenting out those lines fixed it! :D