ios9 - build getting error with ios 9 version. libc++abi.dylib terminating with uncaught exception of type NSException (lldb) -


i getting following error while building app on ios 9 devices.. no issues older version ios. . anyway fix issue .

see error details end of application launch' *** first throw call stack: (0x183fc8f5c 0x198bbff80 0x183fc8e2c 0x184eb7f3c 0x1897c0688 0x1897bd2e4 0x18dd0f7ec 0x18dd0fb6c 0x183f805a4 0x183f80038 0x183f7dd38 0x183eacdc0 0x18958c0ac 0x189586f44 0x10007b154 0x1993ea8b8) libc++abi.dylib: terminating uncaught exception of type nsexception (lldb)

#import <uikit/uikit.h> int main(int argc, char *argv[]) {  nsautoreleasepool * pool = [[nsautoreleasepool alloc] init]; int retval = uiapplicationmain(argc, argv, nil, nil);             thread 1 signal sigabrt [pool release]; return retval; 

i think problem solve way : set self.window.rootrootcontroller after

[self.window makekeyandvisible]  [window setrootviewcontroller:viewcontroller]; 

please see link :

“application windows expected have root view controller @ end of application launch” error when running project xcode 7, ios 9

also :

assertion failure in -[uiapplication _runwithmainscene:transitioncontext:completion:],


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -