新的kivy-Ios工具链,应用程序在禁用纵向方向时崩溃

时间:2015-03-11 04:54:51

标签: ios iphone xcode

我尝试在OS X 10.9.5上使用新的kivy-ios工具链为iOS 8.2创建包。不幸的是,当我禁用'肖像'部署信息'部署信息' xcode 6.2,应用程序崩溃,输出如下:

2015-03-11 04:48:32.449 testapp[1478:44792] *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [SDLLaunchScreenController shouldAutorotate] is returning YES'
*** First throw call stack:
(
    0   CoreFoundation                      0x000000010f245a75 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x000000010edcebb7 objc_exception_throw + 45
    2   CoreFoundation                      0x000000010f2459ad +[NSException raise:format:] + 205
    3   UIKit                               0x000000010ce4a263 -[UIViewController __supportedInterfaceOrientations] + 644
    4   UIKit                               0x000000010ce3f9e3 -[UIViewController _preferredInterfaceOrientationGivenStatusBarAndDeviceAndOrientation:] + 64
    5   UIKit                               0x000000010cd55b43 -[UIWindow setRootViewController:] + 103
    6   testapp                             0x000000010b940a25 -[SDLUIKitDelegate application:didFinishLaunchingWithOptions:] + 413
    7   UIKit                               0x000000010cd0b458 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248
    8   UIKit                               0x000000010cd0c002 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2540
    9   UIKit                               0x000000010cd0ee3e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349
    10  UIKit                               0x000000010cd0dd35 -[UIApplication workspaceDidEndTransaction:] + 179
    11  FrontBoardServices                  0x0000000112a62243 __31-[FBSSerialQueue performAsync:]_block_invoke + 16
    12  CoreFoundation                      0x000000010f17ac7c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    13  CoreFoundation                      0x000000010f1709c5 __CFRunLoopDoBlocks + 341
    14  CoreFoundation                      0x000000010f170785 __CFRunLoopRun + 2389
    15  CoreFoundation                      0x000000010f16fbc6 CFRunLoopRunSpecific + 470
    16  UIKit                               0x000000010cd0d7a2 -[UIApplication _run] + 413
    17  UIKit                               0x000000010cd10580 UIApplicationMain + 1282
    18  testapp                             0x000000010b93fa9b main + 203
    19  libdyld.dylib                       0x000000011037f145 start + 1
    20  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

我已经在iPhone 5s和iOS symulator上做过测试,两者都给了我相同的结果。

之前,在旧的kivy-ios工具链,iOS 8.1和xcode 6.1上运行良好。新的iOS和xcode现在很新,所以我找不到任何答案。我发现的唯一问题是Kivy-ios sdl2 run on ios in low resolution关于低分辨率的问题,这是升级后我也遇到的另一个问题。

0 个答案:

没有答案