ios - 由于钥匙串问题,iOS App 多次被拒绝
问题描述
由于问题,我们的 iOS 应用程序多次被拒绝keychain
。在下面附加崩溃日志:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001ae2e20f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001ae2e15a0 mach_msg + 72
2 libdispatch.dylib 0x00000001ae147880 _dispatch_mach_send_and_wait_for_reply + 500
3 libdispatch.dylib 0x00000001ae147d10 dispatch_mach_send_with_result_and_wait_for_reply$VARIANT$mp + 52
4 libxpc.dylib 0x00000001ae3a6a04 xpc_connection_send_message_with_reply_sync + 204
5 Security 0x00000001af3b7edc securityd_message_with_reply_sync + 96
6 Security 0x00000001af3b845c securityd_send_sync_and_do + 80
7 Security 0x00000001af40e414 __SecItemCopyMatching_block_invoke_2 + 236
8 Security 0x00000001af40d2f4 __SecItemAuthDoQuery_block_invoke + 312
9 Security 0x00000001af40bc60 SecItemAuthDo + 124
10 Security 0x00000001af40c5f4 SecItemAuthDoQuery + 504
11 Security 0x00000001af40e31c __SecItemCopyMatching_block_invoke + 104
12 Security 0x00000001af40a284 SecOSStatusWith + 48
13 Security 0x00000001af40c9dc SecItemCopyMatching + 332
14 FBSDKCoreKit 0x0000000101bc131c -[FBSDKKeychainStore dataForKey:] + 250652 (FBSDKKeychainStore.m:0)
15 FBSDKCoreKit 0x0000000101bc0f28 -[FBSDKKeychainStore dictionaryForKey:] + 249640 (FBSDKKeychainStore.m:0)
16 FBSDKCoreKit 0x0000000101b8b9f4 -[FBSDKAccessTokenCacheV3_17 accessToken] + 31220 (FBSDKAccessTokenCacheV3_17.m:0)
17 FBSDKCoreKit 0x0000000101b8b240 __36-[FBSDKAccessTokenCache accessToken]_block_invoke + 29248 (FBSDKAccessTokenCache.m:42)
18 CoreFoundation 0x00000001ae639964 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 144
19 FBSDKCoreKit 0x0000000101b8b170 -[FBSDKAccessTokenCache accessToken] + 29040 (FBSDKAccessTokenCache.m:48)
20 FBSDKCoreKit 0x0000000101b95d4c -[FBSDKApplicationDelegate application:didFinishLaunchingWithOptions:] + 73036 (FBSDKApplicationDelegate.m:0)
21 MyApp 0x0000000100353ab0 0x100284000 + 850608
22 MyApp 0x0000000100356108 0x100284000 + 860424
23 UIKitCore 0x00000001da894020 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 412
24 UIKitCore 0x00000001da895784 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3352
我无法弄清楚问题。当我在设备上运行应用程序时,它工作正常。但是当我们将我们的应用程序提交到 appStore 时,应用程序被拒绝说:
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, scene-create watchdog transgression: com.mt.MyApp exhausted real (wall clock) time allowance of 16.92 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 41.120 (user 41.120, system 0.000), 69% CPU", | "Elapsed application CPU time (seconds): 2.593, 4% CPU" | )
Triggered by Thread: 0
解决方案
推荐阅读
- typescript - Typescript 中奇怪的类型推断行为
- python - 通过按钮绘制轴数据交换
- apache-superset - Apache-Superset 可变过滤器图表大小
- botframework - 有没有办法在没有 Ngrok 的情况下测试本地托管的机器人?
- java - Java - 异步等待?
- javascript - 在 type="number" 输入上滚动以更改其值:如何停止父级的滚动
- docker - docker alpine 容器启动时挂载 webdav 共享
- node.js - 即使我已将当前工作目录挂载为卷,文件内容也不会改变
- r - 在 Plotly R 中为条形图添加注释
- reactjs - 每个孩子都应该有一个道具警告