Since the release of iPhone 12, I have received reports from iPhone 12 users about the crash problem. Later, I discovered that this problem occurred not only in iPhone 12, but also in other models, but most users said “App Crash after updating iOS 14".
This problem does not occur to all users (approximately one in a thousand), but the user who reinstalls the app still crashes in the same place.
I have tried several methods (such as using different versions of xcode build App), but still not solved...
And all the people around me who use iPhone can’t reproduce this problem, which also makes testing difficult
Does anyone have any ideas? Or how should I solve it?
Crash: EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
Crashed: com.apple.main-thread
0 CoreFoundation 0x183e0c6f4 CFStringGetLength + 8
1 MY_APP 0x10066ca80 CGPKCS5_PBKDF2_gen_keyiv + 3082 (CGCryptoLib.c:3082)
2 MY_APP 0x100578194 +[MOTPs NewTransfer:bEncrypt:] + 93 (MOTPs.m:93)
3 MY_APP 0x1005773e4 +[Profile getProfileArray] + 674 (Profile.m:674)
4 MY_APP 0x100543718 -[AppDelegate updateLogo] + 88 (AppDelegate.m:88)
5 MY_APP 0x10054365c -[AppDelegate application:didFinishLaunchingWithOptions:] + 80 (AppDelegate.m:80)
6 UIKitCore 0x18681b228 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 360
7 UIKitCore 0x18681d290 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 5136
8 UIKitCore 0x186822cec -[UIApplication _runWithMainScene:transitionContext:completion:] + 1244
9 UIKitCore 0x185e78c74 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152
10 UIKitCore 0x1863e6f9c _UIScenePerformActionsWithLifecycleActionMask + 112
11 UIKitCore 0x185e7980c __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 224
12 UIKitCore 0x185e79214 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 300
13 UIKitCore 0x185e7961c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 768
14 UIKitCore 0x185e78e58 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340
15 UIKitCore 0x185e813a4 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 196
16 UIKitCore 0x1862f360c +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892
17 UIKitCore 0x1863ff6c4 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 272
18 UIKitCore 0x185e8109c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384
19 UIKitCore 0x185ca85a0 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 776
20 UIKitCore 0x185ca6f14 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256
21 UIKitCore 0x185ca81c8 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 248
22 UIKitCore 0x186820e8c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 572
23 UIKitCore 0x18631ce38 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388
24 FrontBoardServices 0x193bd43bc -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 432
25 FrontBoardServices 0x193bffd04 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.200 + 128
26 FrontBoardServices 0x193be34a0 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
27 FrontBoardServices 0x193bff9c8 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372
28 libdispatch.dylib 0x183a5ddb0 _dispatch_client_callout + 20
29 libdispatch.dylib 0x183a61738 _dispatch_block_invoke_direct + 268
30 FrontBoardServices 0x193c28250 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
31 FrontBoardServices 0x193c27ee0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 448
32 FrontBoardServices 0x193c28434 -[FBSSerialQueue _performNextFromRunLoopSource] + 32
33 CoreFoundation 0x183de576c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
34 CoreFoundation 0x183de5668 __CFRunLoopDoSource0 + 208
35 CoreFoundation 0x183de4960 __CFRunLoopDoSources0 + 268
36 CoreFoundation 0x183ddea8c __CFRunLoopRun + 824
37 CoreFoundation 0x183dde21c CFRunLoopRunSpecific + 600
38 GraphicsServices 0x19b9aa784 GSEventRunModal + 164
39 UIKitCore 0x18681eee8 -[UIApplication _run] + 1072
40 UIKitCore 0x18682475c UIApplicationMain + 168
41 MOTP Client 0x100543328 main + 16 (main.m:16)
42 libdyld.dylib 0x183a9e6b0 start + 4
Post
Replies
Boosts
Views
Activity
Hi, I have an app that has been online for a long time, but a very small number of users will respond with "-1009, the internet connection appears to be offline" error, but most users are normal, which may indicate that it is a device problem. The user's network uses 4G, and the user indicates that it is normal to connect to other apps.
In my opinion, if my App uses URLSession to get this Error, other apps should also get it, and all apps cannot make network requests, but it is not.
Currently I always ask users to restart the network or use wifi, but this may not solve this problem. Maybe the device has other network settings that can cause this problem? (The user did not use the flight mode)
Anyone know any solutions or know this problem?
Hi, I have an app on the AppStore, but a few times, I get reports from users that he gets -1003 "Could not find a server with the specified hostname" on a 4G network. I tested on my iphone app and the problem is normal.
Knowing that -1003 doesn't happen to all users, maybe there is some setting on the phone that is causing this? Or is there a way to help the user to fix it (reboot or Wifi)?
If anyone knows the problem please let me know, thanks.