点击无法在iOS 8模拟器上运行[Xcode 6.0.1]

时间:2014-09-30 13:11:00

标签: ios-simulator xcode6

我在Yosemite DP上使用Xcode 6.0.1。当我将我的应用程序定位为在iPhone 5S / 6/6 Plus模拟器(iOS 8)上运行时,应用程序启动就可以了。但是,我无法执行任何点击事件。看起来好像屏幕已冻结。我可以旋转屏幕,使用菜单中的Home和Lock命令。但是,除此之外,应用程序中没有任何事情发生。我试图重置内容和设置。它有时有效。但是,它现在已经停止工作了。我甚至试过重新启动我的iMac;但没有运气。有人请告诉我你是否面临这个问题,如果有的话,请你如何解决这个问题。

Spindump日志:

Architecture:    i386
Parent:          launchd_sim [33451]
Responsible:     launchd_sim [33451]
UID:             501
Task size:       17543 pages (+2)
CPU Time:        0.005s
Importance:      Adaptive, Boosted

Thread 0x185129   priority 47         cpu time   0.005s
1001 start + 1 (libdyld.dylib) [0x7ba8ac9]
1001 main + 76 (main.m:36 in Norton Online Family) [0x100e9c]
  1001 UIApplicationMain + 1526 (UIKit) [0x19f6e16]
    1001 GSEventRun + 104 (GraphicsServices) [0x418c08c]
      1001 GSEventRunModal + 192 (GraphicsServices) [0x418c24f]
        1001 CFRunLoopRunInMode + 123 (CoreFoundation) [0x3cfcfdb]
          1001 CFRunLoopRunSpecific + 443 (CoreFoundation) [0x3cfd1ab]
            1000 __CFRunLoopRun + 1400 (CoreFoundation) [0x3cfd9e8]
              1000 __CFRunLoopServiceMachPort + 214 (CoreFoundation) [0x3cfe606]
                1000 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7ea3f7a]
                 *1000 ipc_mqueue_receive_continue + 0 (mach_kernel) [0xffffff80002167d0]
            1    __CFRunLoopRun + 2451 (CoreFoundation) [0x3cfde03]
              1    __CFRunLoopDoSource1 + 510 (CoreFoundation) [0x3d089ce]
                1    __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53 (CoreFoundation) [0x3d08a65]
                  1    migHelperRecievePortCallout + 209 (AppSupport) [0x69b2ac7]
                    1    _XReceivedStatusBarDataAndActions + 101 (UIKit) [0x1f359f0]
                      1    _UIStatusBarReceivedStatusBarDataAndActions + 62 (UIKit) [0x1f32085]
                        1    -[UIStatusBarServer _receivedStatusBarData:actions:] + 62 (UIKit) [0x1f31f37]
                          1    -[UIStatusBar statusBarServer:didReceiveStatusBarData:withActions:] + 156 (UIKit) [0x1f40979]
                            1    -[UIStatusBarForegroundView setStatusBarData:actions:animated:] + 893 (UIKit) [0x1f267e6]
                              1    -[UIStatusBarForegroundView _setStatusBarData:actions:animated:] + 493 (UIKit) [0x1f263f4]
                                1    -[UIStatusBarLayoutManager updateItemsWithData:actions:animated:] + 236 (UIKit) [0x1f2b595]
                                  1    -[UIStatusBarLayoutManager _updateItemView:withData:actions:animated:] + 136 (UIKit) [0x1f2bbb5]
                                    1    -[UIStatusBarItemView setStatusBarData:actions:] + 93 (UIKit) [0x1f2a288]
                                      1    -[UIStatusBarItemView updateContentsAndWidth] + 36 (UIKit) [0x1f2a769]
                                        1    -[UIStatusBarTimeItemView contentsImage] + 46 (UIKit) [0x1f485bb]
                                          1    -[UIStatusBarItemView imageWithText:] + 268 (UIKit) [0x1f2ae12]
                                            1    -[UIStatusBarForegroundStyleAttributes imageWithText:ofItemType:forWidth:lineBreakMode:letterSpacing:textAlignment:style:withLegibilityStyle:legibilityStrength:] + 304 (UIKit) [0x22a99be]
                                              1    +[NSString stringWithFormat:] + 89 (Foundation) [0x159dc22]
                                                1    -[NSPlaceholderString initWithFormat:locale:arguments:] + 159 (Foundation) [0x159a377]
                                                  1    _CFStringCreateWithFormatAndArgumentsAux2 + 270 (CoreFoundation) [0x3dc1abe]
                                                    1    CFRelease + 652 (CoreFoundation) [0x3ca51bc]
                                                      1    __CFStringDeallocate + 150 (CoreFoundation) [0x3ca7c76]
                                                        1    CFAllocatorDeallocate + 100 (CoreFoundation) [0x3c922d4]
                                                          1    __CFAllocatorSystemDeallocate + 24 (CoreFoundation) [0x3ca7cb8]
                                                            1    szone_free + 2001 (libsystem_malloc.dylib) [0x7d77b75]
                                                              1    <executing in user space>

Thread 0x18512b   priority 31        
1001 _dispatch_mgr_thread + 60 (libdispatch.dylib) [0x7b71114]
1001 kevent64 + 10 (libsystem_kernel.dylib) [0x7ea9992]
 *1001 ??? (mach_kernel + 3960080) [0xffffff80005c6d10]

Thread 0x185134   priority 33        
1001 thread_start + 34 (libsystem_pthread.dylib) [0x7eebcf2]
1001 _pthread_start + 130 (libsystem_pthread.dylib) [0x7ee6485]
  1001 _pthread_body + 144 (libsystem_pthread.dylib) [0x7ee65fb]
    1001 __NSThread__main__ + 1326 (Foundation) [0x15e9ab0]
      1001 -[NSThread main] + 76 (Foundation) [0x15e9b57]
        1001 +[NSURLConnection(Loader) _resourceLoadLoop:] + 469 (CFNetwork) [0x1080bb6]
          1001 CFRunLoopRunInMode + 123 (CoreFoundation) [0x3cfcfdb]
            1001 CFRunLoopRunSpecific + 443 (CoreFoundation) [0x3cfd1ab]
              1001 __CFRunLoopRun + 1400 (CoreFoundation) [0x3cfd9e8]
                1001 __CFRunLoopServiceMachPort + 214 (CoreFoundation) [0x3cfe606]
                  1001 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x7ea3f7a]
                   *1001 ipc_mqueue_receive_continue + 0 (mach_kernel) [0xffffff80002167d0]

Thread 0x185136   priority 31        
1001 thread_start + 34 (libsystem_pthread.dylib) [0x7eebcf2]
1001 _pthread_start + 130 (libsystem_pthread.dylib) [0x7ee6485]
  1001 _pthread_body + 144 (libsystem_pthread.dylib) [0x7ee65fb]
    1001 __select + 10 (libsystem_kernel.dylib) [0x7ea8ace]
     *1001 ??? (mach_kernel + 4080224) [0xffffff80005e4260]

Thread 0x185625   priority 31        
274 start_wqthread + 30 (libsystem_pthread.dylib) [0x7eebcce]
274 __workq_kernreturn + 10 (libsystem_kernel.dylib) [0x7ea9046]
 *274 wq_unpark_continue + 0 (pthread) [0xffffff7f80c166ae]



*0xffffff7f80c13000 - 0xffffff7f80c1afff  com.apple.kec.pthread 1.0 (1) <882075E6-12C4-3225-8750-928715183739> /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread
*0xffffff8000200000 - 0xffffff80007a823a  mach_kernel (2422.115.4) <9477416E-7BCA-3679-AF97-E1EAAD3DD5A0> /mach_kernel

1 个答案:

答案 0 :(得分:0)

专注于你的应用程序的spindump,看看你的主线程是否被阻止。

sudo spindump [name of your process]