Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Crash on Launch ( Simulator ) #2

Open
ksalaheddine opened this issue Apr 27, 2020 · 1 comment
Open

App Crash on Launch ( Simulator ) #2

ksalaheddine opened this issue Apr 27, 2020 · 1 comment

Comments

@ksalaheddine
Copy link

Hi,

i tried to launch your app on simulator 13.3.

i believe there is a problem with getAll() function in LocalGoalManager.

the app crash here is the log trace:

2020-04-27 02:38:11.459258+0000 iHealth[2034:37227] *** Terminating app due to uncaught exception 'RLMException', reason: 'Primary key property 'name' does not exist on object 'RealmSwiftPermissionRole'' *** First throw call stack: (

@ksalaheddine
Copy link
Author

the hole stack trace
2020-04-27 02:38:11.459258+0000 iHealth[2034:37227] *** Terminating app due to uncaught exception 'RLMException', reason: 'Primary key property 'name' does not exist on object 'RealmSwiftPermissionRole'' *** First throw call stack: ( 0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350 1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48 2 Realm 0x00000001065dcba3 +[RLMObjectSchema schemaForObjectClass:] + 4371 3 Realm 0x00000001066e4c4e _ZL16RLMRegisterClassP10objc_class + 302 4 Realm 0x00000001066e5c7d __25+[RLMSchema sharedSchema]_block_invoke + 77 5 CoreFoundation 0x00007fff23cf9c77 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ + 7 6 CoreFoundation 0x00007fff23cd2e0e -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 238 7 Realm 0x00000001066e59bf +[RLMSchema sharedSchema] + 479 8 Realm 0x00000001066b1e0a +[RLMRealm realmWithConfiguration:error:] + 2794 9 RealmSwift 0x0000000107b571b1 $sSo8RLMRealmC13configurationABSo0A13ConfigurationC_tKcfCTO + 145 10 RealmSwift 0x0000000107b57069 $s10RealmSwift0A0CACyKcfC + 105 11 iHealth 0x000000010603b4df $s7iHealth16LocalGoalManagerC6getAllSayAA0bC0CGyF + 79 12 iHealth 0x000000010603bd9d $s7iHealth16LocalGoalManagerC7isEmptySbyF + 45 13 iHealth 0x0000000106005a04 $s7iHealth11AppDelegateC19handleNetworkChange33_150A43AF738D9ECAD8496ACD9761CE0ELLyyF + 100 14 iHealth 0x0000000106005f3b $s7iHealth11AppDelegateC19handleNetworkChange33_150A43AF738D9ECAD8496ACD9761CE0ELLyyFTo + 43 15 iHealth 0x00000001060055cf $s7iHealth11AppDelegateC26applicationDidBecomeActiveyySo13UIApplicationCF + 47 16 iHealth 0x0000000106005624 $s7iHealth11AppDelegateC26applicationDidBecomeActiveyySo13UIApplicationCFTo + 68 17 UIKitCore 0x00007fff4808878d -[UIApplication _stopDeactivatingForReason:] + 1028 18 UIKitCore 0x00007fff477c5d1a -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 436 19 UIKitCore 0x00007fff477c60ac -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 818 20 UIKitCore 0x00007fff477c5941 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345 21 UIKitCore 0x00007fff477c9f3f __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 178 22 UIKitCore 0x00007fff47bd8c83 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 865 23 UIKitCore 0x00007fff47cd2dff _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240 24 UIKitCore 0x00007fff477c9c5a __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153 25 UIKitCore 0x00007fff47cd2d02 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84 26 UIKitCore 0x00007fff477c9ac8 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381 27 UIKitCore 0x00007fff476206e7 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657 28 UIKitCore 0x00007fff4761f26c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248 29 UIKitCore 0x00007fff47620411 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210 30 UIKitCore 0x00007fff47bfac66 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 504 31 FrontBoardServices 0x00007fff365d6c07 -[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:] + 565 32 FrontBoardServices 0x00007fff365fc99f __88-[FBSWorkspaceScenesClient sceneID:updateWithSettingsDiff:transitionContext:completion:]_block_invoke_2 + 123 33 FrontBoardServices 0x00007fff365e0c45 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220 34 FrontBoardServices 0x00007fff365fc8dc __88-[FBSWorkspaceScenesClient sceneID:updateWithSettingsDiff:transitionContext:completion:]_block_invoke + 196 35 libdispatch.dylib 0x00000001087cfd48 _dispatch_client_callout + 8 36 libdispatch.dylib 0x00000001087d2cb9 _dispatch_block_invoke_direct + 300 37 FrontBoardServices 0x00007fff3662237e __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30 38 FrontBoardServices 0x00007fff3662206c -[FBSSerialQueue _queue_performNextIfPossible] + 441 39 FrontBoardServices 0x00007fff3662257b -[FBSSerialQueue _performNextFromRunLoopSource] + 22 40 CoreFoundation 0x00007fff23bd4471 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 41 CoreFoundation 0x00007fff23bd439c __CFRunLoopDoSource0 + 76 42 CoreFoundation 0x00007fff23bd3b74 __CFRunLoopDoSources0 + 180 43 CoreFoundation 0x00007fff23bce87f __CFRunLoopRun + 1263 44 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438 45 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65 46 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621 47 iHealth 0x00000001060061ab main + 75 48 libdyld.dylib 0x00007fff5227ec25 start + 1 49 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant