swiftui这个崩溃报告的含义是什么?

如何解决swiftui这个崩溃报告的含义是什么?

仅在iphone11设备上崩溃。

--- >>> 4 UIKitCore 0x19c04f808-[UITableView _Bug_Detected_In_Client_Of_UITableView_Invalid_Number_Of_Sections:] + 200(UITableView.m:2402)

Last Exception Backtrace:
0   CoreFoundation                  0x197d9496c __exceptionPreprocess + 224 (NSException.m:199)
1   libobjc.A.dylib                 0x197aad028 objc_exception_throw + 60 (objc-exception.mm:565)
2   CoreFoundation                  0x197c914fc +[NSException raise:format:arguments:] + 100 (NSException.m:146)
3   Foundation                      0x1980d2690 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 132 (NSException.m:231)
4   UIKitCore                       0x19c04f808 -[UITableView _Bug_Detected_In_Client_Of_UITableView_Invalid_Number_Of_Sections:] + 200 (UITableView.m:2402)
5   UIKitCore                       0x19c04ec98 -[UITableView _endCellAnimationsWithContext:] + 11024 (UITableView.m:2303)
6   UIKitCore                       0x19c066824 -[UITableView endUpdatesWithContext:] + 128 (UITableView.m:7403)
7   UIKitCore                       0x19c0669f8 -[UITableView _performBatchUpdates:withContext:completion:] + 280 (UITableView.m:7429)
8   UIKitCore                       0x19c066b68 -[UITableView performBatchUpdates:completion:] + 120 (UITableView.m:7440)
9   SwiftUI                         0x1cf171cc0 $s7SwiftUI25UpdateCoalescingTableView33_BFB370BA5F1BADDC9D83021565761A49LLC19performBatchUpdates_... + 452 (ListCore_PhoneTV.swift:71)
10  SwiftUI                         0x1cf171e74 $s7SwiftUI25UpdateCoalescingTableView33_BFB370BA5F1BADDC9D83021565761A49LLC19performBatchUpdates_... + 184 (<compiler-generated>:0)
11  SwiftUI                         0x1cf174578 $s7SwiftUI19ListCoreCoordinator33_BFB370BA5F1BADDC9D83021565761A49LLC17updateUITableView_4from2to... + 1812 (ListCore_PhoneTV.swift:318)
12  SwiftUI                         0x1cf172c44 $s7SwiftUI9_ListCore33_BFB370BA5F1BADDC9D83021565761A49LLV12updateUIView_7contextyAA12TableWrappe... + 880 (ListCore_PhoneTV.swift:219)
13  SwiftUI                         0x1cf4fecec $s7SwiftUI32PlatformViewRepresentableAdaptor33_19642D833A8FE469B137699ED1426762LLV06updateD8Provi... + 340 (UIViewRepresentable.swift:258)
14  SwiftUI                         0x1cf1e402c $s7SwiftUI17PlatformViewChild33_A513612C07DFA438E70B9FA90719B40DLLV6update7contexty14AttributeGra... + 2424 (PlatformViewRepresentable.swift:296)
15  SwiftUI                         0x1cf1de77c $s7SwiftUI17PlatformViewChild33_A513612C07DFA438E70B9FA90719B40DLLV6update7contexty14AttributeGra... + 308 (PlatformViewRepresentable.swift:232)
16  SwiftUI                         0x1cf1e5380 $s7SwiftUI17PlatformViewChild33_A513612C07DFA438E70B9FA90719B40DLLVyxG14AttributeGraph07UntypedM0... + 40 (<compiler-generated>:0)
17  AttributeGraph                  0x1c343d9c0 0x1c3421000 + 117184
18  AttributeGraph                  0x1c3424e9c 0x1c3421000 + 16028
19  AttributeGraph                  0x1c3425164 0x1c3421000 + 16740
20  AttributeGraph                  0x1c342a130 0x1c3421000 + 37168
21  SwiftUI                         0x1cf0a7afc $s7SwiftUI9ViewGraphC14runTransaction33_D63C4EB7F2B205694B6515509E76E98BLL2inySo10AGGraphRefa_tF + 224 (ViewGraph.swift:712)
22  SwiftUI                         0x1cf0a78a4 $s7SwiftUI9ViewGraphC17flushTransactionsyyFySo10AGGraphRefaXEfU_ + 240 (ViewGraph.swift:608)
23  SwiftUI                         0x1cf0a7524 $s7SwiftUI9ViewGraphC17flushTransactionsyyF + 188 (<compiler-generated>:0)
24  SwiftUI                         0x1cf3e13fc $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtFyyXEfU_yyXEfU_ + 1632 (ViewRendererHost.swift:156)
25  SwiftUI                         0x1cf3e0b98 $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtFyyXEfU_ + 624 (ViewRendererHost.swift:137)
26  SwiftUI                         0x1cf3d5f74 $s7SwiftUI16ViewRendererHostPAAE6render8interval17updateDisplayListySd_SbtF + 456 (ViewRendererHost.swift:124)
27  SwiftUI                         0x1cf5517d8 $s7SwiftUI14_UIHostingViewC14layoutSubviewsyyF + 172 (UIHostingView.swift:1312)
28  SwiftUI                         0x1cf551808 $s7SwiftUI14_UIHostingViewC14layoutSubviewsyyFTo + 28 (<compiler-generated>:0)
29  UIKitCore                       0x19c3488b0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2156 (UIView.m:17028)
30  libobjc.A.dylib                 0x197aa8a4c -[NSObject performSelector:withObject:] + 68 (NSObject.mm:2182)
31  QuartzCore                      0x19e95e55c -[CALayer layoutSublayers] + 292 (CALayer.mm:9627)
32  QuartzCore                      0x19e95e9ac CA::Layer::layout_if_needed(CA::Transaction*) + 484 (CALayer.mm:9501)
33  QuartzCore                      0x19e9711bc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 140 (CALayer.mm:2461)
34  QuartzCore                      0x19e8b5b00 CA::Context::commit_transaction(CA::Transaction*,double) + 308 (CAContextInternal.mm:1992)
35  QuartzCore                      0x19e8e0910 CA::Transaction::commit() + 684 (CATransactionInternal.mm:438)
36  QuartzCore                      0x19e8e14e4 CA::Transaction::observer_callback(__CFRunLoopObserver*,unsigned long,void*) + 96 (CATransactionInternal.mm:888)
37  CoreFoundation                  0x197d0f524 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1758)
38  CoreFoundation                  0x197d0a1c4 __CFRunLoopDoObservers + 420 (CFRunLoop.c:1868)
39  CoreFoundation                  0x197d0a774 __CFRunLoopRun + 1292 (CFRunLoop.c:2910)
40  CoreFoundation                  0x197d09f40 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)
41  GraphicsServices                0x1a1f9a534 GSEventRunModal + 108 (GSEvent.c:2246)
42  UIKitCore                       0x19be95580 UIApplicationMain + 1940 (UIApplication.m:4773)
43  MyHairNote                      0x102605944 main + 68 (firebase_session.swift:16)
44  libdyld.dylib                   0x197b88e18 start + 4

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 &lt;select id=&quot;xxx&quot;&gt; SELECT di.id, di.name, di.work_type, di.updated... &lt;where&gt; &lt;if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 &lt;property name=&quot;dynamic.classpath&quot; value=&quot;tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-