iOS Swift 应用程序的 Crashlytics 错误消息

如何解决iOS Swift 应用程序的 Crashlytics 错误消息

我收到了一个暂时性错误,Fatal Exception: NSInternalInconsistencyException 通过 Crashlytics 报告(并且在模拟器中测试时可观察到),我一生都无法解决这个问题。它似乎与 CoreFoundation 有关:

-[CFPrefsSearchListSource addManagedSourceForIdentifier:user:]

主线程错误信息为:

Not possible to remove variable: 4: 0x28049ceb0:UISV-fill-proportionally.posErrorMarker{id: 5600} colIndex:6 from engine <NSISEngine: 0x14de1b8b0>{ delegate:0x14e86c0f0 EngineVars: 0: objective{id: 437} rowIndex:0 2: 0x28049d090:UISV-fill-proportionally.negError{id: 5598} colIndex:31 3: 0x28049cd20:UISV-spacing.marker{id: 5599} colIndex:3 4: 0x28049ceb0:UISV-fill-proportionally.posErrorMarker{id: 5600} colIndex:6 5: 0x28049ceb0:UISV-fill-proportionally.negError{id: 5601} colIndex:5 6: 0x28049cb90:UISV-fill-proportionally.posErrorMarker{id: 5606} rowIndex:26 7: <orphaned without delegate (bug!):0x283289280>{id: 2108} colIndex:0 8: 0x28049cb90:UISV-fill-proportionally.negError{id: 5607} colIndex:30 9: 0x28049ca50:UISV-spacing.marker{id: 5608} colIndex:29 10: GADBannerView:0x14ef33200.Height{id: 5238} rowIndex:1073741826 11: 0x280415ae0.marker{id: 5237} colIndex:1073741827 12: GADBannerView:0x14ef33200.Width{id: 5298} rowIndex:3 13: 0x28036c2a0.posErrorMarker{id: 5322} rowIndex:32 14: 0x28036c2a0.negError{id: 5323} colIndex:11 15: 0x28036e4c0.posErrorMarker{id: 5324} rowIndex:1073741827 16: 0x28036e4c0.negError{id: 5325} colIndex:1073741829 17: MarqueeLabel.MarqueeLabel:0x14ef1cc90.Height{id: 5240} rowIndex:1073741828 18: 0x280416b70.marker{id: 5239} colIndex:1073741828 19: MarqueeLabel.MarqueeLabel:0x14ef1cc90.Width{id: 5249} rowIndex:10 20: 0x28036d7a0.posErrorMarker{id: 5326} rowIndex:50 21: 0x28036d7a0.negError{id: 5327} colIndex:8 22: 0x28036c0c0.posErrorMarker{id: 5328} colIndex:1073741830 23: 0x28036c0c0.negError{id: 5329} rowIndex:1073741829 24: UILabel:0x14ef38c30.Height{id: 5242} rowIndex:1073741830 25: 0x280416850.marker{id: 5241} colIndex:1073741831 26: UILabel:0x14ef38c30.Width{id: 5259} rowIndex:12 27: 0x28036fea0.posErrorMarker{id: 5330} rowIndex:6 28: 0x28036fea0.negError{id: 5331} colIndex:13 29: 0x28036efa0.posErrorMarker{id: 5332} colIndex:1073741834 30: 0x28036efa0.negError{id: 5333} rowIndex:1073741831 31: UILabel:0x14ef38

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x19847586c __exceptionPreprocess
1  libobjc.A.dylib                0x1ad490c50 objc_exception_throw
2  CoreFoundation                 0x19837b000 -[CFPrefsSearchListSource addManagedSourceForIdentifier:user:]
3  Foundation                     0x199763728 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]
4  CoreAutoLayout                 0x1ad73dca0 _engineVar_rawRemove
5  CoreAutoLayout                 0x1ad73ee1c -[NSISEngine removeConstraintWithMarker:]
6  CoreAutoLayout                 0x1ad756054 -[NSLayoutConstraint _removeFromEngine:]
7  UIKitCore                      0x19b286bc8 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke
8  CoreAutoLayout                 0x1ad73c51c -[NSISEngine withBehaviors:performModifications:]
9  UIKitCore                      0x19b286ad8 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]
10 UIKitCore                      0x19b286e28 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2
11 UIKitCore                      0x19b286d30 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke
12 CoreAutoLayout                 0x1ad73c51c -[NSISEngine withBehaviors:performModifications:]
13 UIKitCore                      0x19b286ad8 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]
14 UIKitCore                      0x19b286e28 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2
15 UIKitCore                      0x19b286d30 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke
16 CoreAutoLayout                 0x1ad73c51c -[NSISEngine withBehaviors:performModifications:]
17 UIKitCore                      0x19b286ad8 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]
18 UIKitCore                      0x19b286e28 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2
19 UIKitCore                      0x19b286d30 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke
20 CoreAutoLayout                 0x1ad73c51c -[NSISEngine withBehaviors:performModifications:]
21 UIKitCore                      0x19b286ad8 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]
22 UIKitCore                      0x19b3622fc __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke
23 UIKitCore                      0x19b362210 -[UIView(Hierarchy) _postMovedFromSuperview:]
24 UIKitCore                      0x19b371574 -[UIView(Internal) _addSubview:positioned:relativeTo:]
25 UIKitCore                      0x19a74777c __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke_2
26 UIKitCore                      0x19b36a638 +[UIView(Animation) performWithoutAnimation:]
27 UIKitCore                      0x19a747168 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke
28 UIKitCore                      0x19b36fed4 +[UIView _performBlockDelayingTriggeringResponderEvents:forScene:]
29 UIKitCore                      0x19a746b90 -[_UINavigationParallaxTransition animateTransition:]
30 UIKitCore                      0x19a736358 ___UIViewControllerTransitioningRunCustomTransition_block_invoke_2
31 UIKitCore                      0x19a87795c +[UIInputResponderController _pinInputViewsForInputResponderController:onBehalfOfResponder:duringBlock:]
32 UIKitCore                      0x19a7362d0 ___UIViewControllerTransitioningRunCustomTransition_block_invoke.663
33 UIKitCore                      0x19b36a314 +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:]
34 UIKitCore                      0x19a736108 _UIViewControllerTransitioningRunCustomTransition
35 UIKitCore                      0x19a6320e8 -[UINavigationController _startCustomTransition:]
36 UIKitCore                      0x19a646afc -[UINavigationController _startDeferredTransitionIfNeeded:]
37 UIKitCore                      0x19a647f88 -[UINavigationController __viewWillLayoutSubviews]
38 UIKitCore                      0x19a629a18 -[UILayoutContainerView layoutSubviews]
39 UIKitCore                      0x19b377ec4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
40 QuartzCore                     0x19b892644 -[CALayer layoutSublayers]
41 QuartzCore                     0x19b892b18 CA::Layer::layout_if_needed(CA::Transaction*)
42 QuartzCore                     0x19b8a730c CA::Layer::layout_and_display_if_needed(CA::Transaction*)
43 QuartzCore                     0x19b7ec640 CA::Context::commit_transaction(CA::Transaction*,double,double*)
44 QuartzCore                     0x19b817b08 CA::Transaction::commit()
45 UIKitCore                      0x19ae5dbf4 _afterCACommitHandler
46 CoreFoundation                 0x1983f0358 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
47 CoreFoundation                 0x1983ea5c4 __CFRunLoopDoObservers
48 CoreFoundation                 0x1983eab74 __CFRunLoopRun
49 CoreFoundation                 0x1983ea21c CFRunLoopRunSpecific
50 GraphicsServices               0x1affb6784 GSEventRunModal
51 UIKitCore                      0x19ae2aee8 -[UIApplication _run]
52 UIKitCore                      0x19ae3075c UIApplicationMain
53 BTC Markets Ticker             0x102e1180c main + 22 (AppDelegate.swift:22)
54 libdyld.dylib                  0x1980aa6b0 start

该应用程序是使用 Xcode 12.4 用 Swift 编写的 UI 是使用故事板编辑器创建的。 有没有人遇到过类似的事情?这种情况发生在多种设备类型和应用版本中。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 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-