我的应用仅在iOS 13以上版本的Testflight中崩溃

如何解决我的应用仅在iOS 13以上版本的Testflight中崩溃

我最近向Tesflight提交了一个应用程序进行测试,该应用程序在iOS 12上运行正常,但在iOS 13.6.1的同一位置始终崩溃。

该应用程序处于Testflight中,并使用Xcode 11.5编译

有人可以帮我解决这个问题吗?

这是崩溃日志,任何人都可以对发生的问题提出建议吗?


Incident Identifier: A516654B-34B8-411D-B6D5-12BEC3B9D2CE
Hardware Model:      iPhone9,3
Process:             ********* [3921]
Path:                /private/var/containers/Bundle/Application/******
Identifier:          com.*****
Version:             3 (1.0.1)
AppStoreTools:       11E801a
AppVariant:          1:iPhone9,3:13
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.******* [1594]


Date/Time:           2020-08-29 20:30:02.3612 +0200
Launch Time:         2020-08-29 20:29:50.4227 +0200
OS Version:          iPhone OS 13.6.1 (17G80)
Release Type:        User
Baseband Version:    4.03.00
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000,0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  2

Last Exception Backtrace:
0   CoreFoundation                  0x199c79654 __exceptionPreprocess + 224 (NSException.m:199)
1   libobjc.A.dylib                 0x19999bbcc objc_exception_throw + 56 (objc-exception.mm:565)
2   CoreFoundation                  0x199b7c6ec +[NSException raise:format:arguments:] + 96 (NSException.m:146)
3   Foundation                      0x199fc216c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 128 (NSException.m:231)
4   FrontBoardServices              0x19ee48e84 -[FBSSerialQueue assertOnQueue] + 228 (FBSSerialQueue.m:98)
5   FrontBoardServices              0x19edfed88 -[FBSSceneImpl updateClientSettings:withTransitionContext:] + 76 (FBSSceneImpl.m:190)
6   FrontBoardServices              0x19edfefe8 -[FBSSceneImpl updateClientSettingsWithTransitionBlock:] + 152 (FBSSceneImpl.m:213)
7   FrontBoardServices              0x19edfeef8 -[FBSSceneImpl updateClientSettingsWithBlock:] + 112 (FBSSceneImpl.m:203)
8   UIKitCore                       0x19d8a46c0 -[FBSScene(UIApp) updateUIClientSettingsWithBlock:] + 168 (FBSScene+UIApp.m:41)
9   UIKitCore                       0x19dd3c448 -[UIApplication setProximityEventsEnabled:] + 108 (UIApplication.m:9203)
10  UIKitCore                       0x19d99cd50 -[UIDevice setProximityMonitoringEnabled:] + 112 (UIDevice.m:890)
11  ***                 0x100276cec -[ProximityHelper startProximitySensor] + 100 (ProximityHelper.m:53)
12 ***                  0x10025347c -[RecordSound performRecord:] + 656 (RecordSound.m:172)
13 ***                  0x10009c180 -[SoundRecordManager startCalibrationRecord:] + 200 (SoundRecordManager.m:65)
14  CoreFoundation                  0x199c7f8c0 __invoking___ + 144
15  CoreFoundation                  0x199b50a70 -[NSInvocation invoke] + 300 (NSForwarding.m:3312)
16  CoreFoundation                  0x199b51648 -[NSInvocation invokeWithTarget:] + 76 (NSForwarding.m:3418)
17  ****                    0x10015bef0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584)
18  ****                    0x10015dfdc facebook::react::invokeInner(RCTBridge*,RCTModuleData*,unsigned int,folly::dynamic const&) + 244 (RCTNativeModule.mm:114)
19  ****                    0x10015dd40 operator() + 44 (RCTNativeModule.mm:75)
20  ****                    0x10015dd40 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int,folly::dynamic&&,int) + 88 (RCTNativeModule.mm:67)
21  libdispatch.dylib               0x19993e9a8 _dispatch_call_block_and_release + 24 (init.c:1408)
22  libdispatch.dylib               0x19993f524 _dispatch_client_callout + 16 (object.m:495)
23  libdispatch.dylib               0x1998eb8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)
24  libdispatch.dylib               0x1998ec294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)
25  libdispatch.dylib               0x1998f578c _dispatch_workloop_worker_thread + 588 (queue.c:6445)
26  libsystem_pthread.dylib         0x199990b74 _pthread_wqthread + 272 (pthread.c:2351)
27  libsystem_pthread.dylib         0x199993740 start_wqthread + 8

Thread 2 name:
Thread 2 Crashed:
0   libsystem_kernel.dylib          0x0000000199a6ed88 __pthread_kill + 8
1   libsystem_pthread.dylib         0x00000001999871e8 pthread_kill$VARIANT$mp + 136 (pthread.c:1458)
2   libsystem_c.dylib               0x00000001998da934 abort + 100 (abort.c:110)
3   libc++abi.dylib                 0x0000000199a42cc0 abort_message + 128 (abort_message.cpp:76)
4   libc++abi.dylib                 0x0000000199a34e10 demangling_terminate_handler() + 296 (cxa_default_handlers.cpp:65)
5   libobjc.A.dylib                 0x000000019999be80 _objc_terminate() + 124 (objc-exception.mm:701)
6   libc++abi.dylib                 0x0000000199a4214c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7   libc++abi.dylib                 0x0000000199a420e4 std::terminate() + 44 (cxa_handlers.cpp:88)
8   libdispatch.dylib               0x000000019993f538 _dispatch_client_callout + 36 (object.m:498)
9   libdispatch.dylib               0x00000001998eb8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)
10  libdispatch.dylib               0x00000001998ec294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)
11  libdispatch.dylib               0x00000001998f578c _dispatch_workloop_worker_thread + 588 (queue.c:6445)
12  libsystem_pthread.dylib         0x0000000199990b74 _pthread_wqthread + 272 (pthread.c:2351)
13  libsystem_pthread.dylib         0x0000000199993740 start_wqthread + 8


Thread 2 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000199a45f29   x5: 0x000000016ff0a450   x6: 0x000000000000006e   x7: 0xffffffffffffffec
    x8: 0x000000016ff0b000   x9: 0x32fb60d336d77b95  x10: 0x0000000199987160  x11: 0x000000000000000b
   x12: 0x00000001d55f9080  x13: 0x0000000000000001  x14: 0x0000000000000010  x15: 0x0000000000000004
   x16: 0x0000000000000148  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x0000000000001803  x21: 0x000000016ff0a450  x22: 0x000000016ff0b0e0  x23: 0x0000000000000000
   x24: 0x0000000000000000  x25: 0x0000000281d6a800  x26: 0x00000002826015c0  x27: 0x0000000000000000
   x28: 0x00000002826015c0   fp: 0x000000016ff0a3b0   lr: 0x00000001999871e8
    sp: 0x000000016ff0a390   pc: 0x0000000199a6ed88 cpsr: 0x40000000
   esr: 0x56000080  Address size fault

接近帮助程序的代码:

49 - (void) startProximitySensor {
50     if (!self.activatedByApp) return;
51     [timesChanged removeAllObjects];
52     UIDevice *device = [UIDevice currentDevice];
53     device.proximityMonitoringEnabled = YES;
54    
55   
56     [[NSNotificationCenter defaultCenter]
57      addObserver:self
58      selector:@selector(proximityChanged:)
59      name: proximityNotificationString
60      object:nil];
61 }

解决方法

在此应用程序版本中,我不需要接近帮助程序,因此我从库中删除了他的通话,并且该通话在iOS 13+上有效。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 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时,该条件不起作用 <select id="xxx"> SELECT di.id, di.name, di.work_type, di.updated... <where> <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,添加如下 <property name="dynamic.classpath" value="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['font.sans-serif'] = ['SimHei'] # 能正确显示负号 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 -> 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("/hires") 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<String
使用vite构建项目报错 C:\Users\ychen\work>npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-