I’ve a completely purposeful Flutter app which runs properly on IOS.
I’m creating a companion Apple Watch app. The watch app will learn the person heartbeat and due to this fact wants the NSHealthShareUsageDescription & NSHealthUpdateUsageDescription permissions.
To debug, I first run the Flutter app from XCode. 2nd I run the Watch app from XCode. When the Watch app begins execution, the Flutter app is terminated with “Terminated because of sign 9”.
This occurs with even a easy “Hey world” watch app that doesn’t entry the HealthKit.
If the app is run from VSCode, when the watch app is run from XCode, the IOS app terminates with:
* thread #1, queue="com.apple.main-thread", cease cause = sign SIGKILL
body #0: 0x00000001d9f88da8 libsystem_kernel.dylib`mach_msg2_trap + 8
libsystem_kernel.dylib`mach_msg2_trap:
-> 0x1d9f88da8 <+8>: ret
libsystem_kernel.dylib`macx_swapon:
0x1d9f88dac <+0>: mov x16, #-0x30
0x1d9f88db0 <+4>: svc #0x80
0x1d9f88db4 <+8>: ret
Goal 0: (Runner) stopped.
Misplaced connection to system.
Any assist/recommendation on this tremendously appreciated.