Xcode7.3.1 ios8.0 unity5.3.4p6 导入谷歌VR0.8.0SDK出现的BUG

Uncaught exception: NSInvalidArgumentException: *** -[NSPlaceholderString initWithFormat:locale:arguments:]: nil argument

(

0CoreFoundation0x0000000184a91918 + 148

1libobjc.A.dylib0x00000001840fff80 objc_exception_throw + 56

2CoreFoundation0x0000000184a91848 + 0

3Foundation0x0000000185362814 + 124

4Foundation0x0000000185362710 + 68

5VRMAX0x00000001012ee9cc -[GVROverlayView initWithFrame:] + 3228

6VRMAX0x00000001012eb588 -[GVRUnityController init] + 104

7VRMAX0x00000001012ebba0 createUiLayer + 88

8VRMAX0x000000010067260c -[CardboardAppController createUnityView] + 108

9VRMAX0x000000010049a140 -[UnityAppController application:didFinishLaunchingWithOptions:] + 1044

10UIKit0x00000001897f9704 + 400

11UIKit0x0000000189a28130 + 2904

12UIKit0x0000000189a2c4b8 + 1672

13UIKit0x0000000189a295c0 + 168

14FrontBoardServices0x0000000186047790 + 184

15FrontBoardServices0x0000000186047b10 + 56

16CoreFoundation0x0000000184a48efc + 24

17CoreFoundation0x0000000184a48990 + 540

18CoreFoundation0x0000000184a46690 + 724

19CoreFoundation0x0000000184975680 CFRunLoopRunSpecific + 384

20UIKit0x00000001897f2580 + 460

21UIKit0x00000001897ecd90 UIApplicationMain + 204

22VRMAX0x00000001009db7f0 main + 208

23libdyld.dylib0x00000001845168b8 + 4

)

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSPlaceholderString initWithFormat:locale:arguments:]: nil argument'

*** First throw call stack:

(0x184a91900 0x1840fff80 0x184a91848 0x185362814 0x185362710 0x1012ee9cc 0x1012eb588 0x1012ebba0 0x10067260c 0x10049a140 0x1897f9704 0x189a28130 0x189a2c4b8 0x189a295c0 0x186047790 0x186047b10 0x184a48efc 0x184a48990 0x184a46690 0x184975680 0x1897f2580 0x1897ecd90 0x1009db7f0 0x1845168b8)

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


UIApplicationMain(argc, argv, nil, [NSString stringWithUTF8String:AppControllerClassName]);

替换

returnUIApplicationMain(argc, argv,nil,NSStringFromClass([AppDelegateclass]));

你可能感兴趣的:(Xcode7.3.1 ios8.0 unity5.3.4p6 导入谷歌VR0.8.0SDK出现的BUG)