例外:线程1Queue:Swift 3中的com.apple.main-thread(serial)

时间:2017-10-10 06:19:24

标签: ios swift

我的项目是基于位置的。它每30秒获取一次位置。但是当app在iphone设备中安装时,app会显示以下错误:

enter image description here

Thread 1Queue : com.apple.main-thread (serial)
#0  0x000000018c3a1014 in __pthread_kill ()
#1  0x000000018c46b334 in pthread_kill ()
#2  0x000000018c3159c4 in abort ()
#3  0x000000018bde11b0 in abort_message ()
#4  0x000000018bdfac04 in default_terminate_handler() ()
#5  0x000000018be08820 in _objc_terminate() ()
#6  0x000000018bdf75d4 in std::__terminate(void (*)()) ()
#7  0x000000018bdf71a8 in __cxa_rethrow ()
#8  0x000000018be086f8 in objc_exception_rethrow ()
#9  0x000000018d282e00 in CFRunLoopRunSpecific ()
#10 0x000000018ecec074 in GSEventRunModal ()
#11 0x000000019353b130 in UIApplicationMain ()
#12 0x0000000100172964 in main at /Users/apple/Desktop/Project/New_Effy_Checkout/EffyIOS/effyIos/AppDelegate.swift:22
#13 0x000000018c29159c in start ()

Please suggest solution if any.

0 个答案:

没有答案