gpt4 book ai didi

ios - *** 由于未捕获的异常 'NSGenericException' 而终止应用程序,原因 : 'Start date cannot be later in time than end date!'

转载 作者:可可西里 更新时间:2023-11-01 04:37:34 28 4
gpt4 key购买 nike

我正在使用 Alamofire,在我的应用程序在模拟器上运行几个小时后,我遇到了崩溃并出现此错误。

*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Start date cannot be later in time than end date!'

我在控制台中得到了这个堆栈跟踪:

*** First throw call stack:
(
0 CoreFoundation 0x0000000111186d4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000110be821e objc_exception_throw + 48
2 Foundation 0x00000001107f0e3c -[_NSConcreteDateInterval dealloc] + 0
3 CFNetwork 0x00000001131a18e8 -[__NSCFURLSessionTaskMetrics _initWithTask:] + 868
4 CFNetwork 0x00000001131a1497 -[NSURLSessionTaskMetrics _initWithTask:] + 100
5 CFNetwork 0x0000000112f77bc7 -[__NSCFURLLocalSessionConnection _tick_finishing] + 351
6 libdispatch.dylib 0x00000001128e3978 _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x000000011290d0cd _dispatch_client_callout + 8
8 libdispatch.dylib 0x00000001128eae17 _dispatch_queue_serial_drain + 236
9 libdispatch.dylib 0x00000001128ebb4b _dispatch_queue_invoke + 1073
10 libdispatch.dylib 0x00000001128ee385 _dispatch_root_queue_drain + 720
11 libdispatch.dylib 0x00000001128ee059 _dispatch_worker_thread3 + 123
12 libsystem_pthread.dylib 0x0000000112cbc736 _pthread_wqthread + 1299
13 libsystem_pthread.dylib 0x0000000112cbc211 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

有人遇到过类似的崩溃吗?

谢谢

最佳答案

我遇到了同样的崩溃,今天做了一些研究,发现了这个:

http://www.openradar.me/28301343

Apple 似乎在 iOS 10.2 中修复了这个问题。只是觉得它可能对你有帮助!

关于ios - *** 由于未捕获的异常 'NSGenericException' 而终止应用程序,原因 : 'Start date cannot be later in time than end date!' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40723657/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com