everytime I intend run a project on the IOS simulator I have a message "Lost connection to device". It previously worked fine, i don't remember exactly to interfere in some way with Xcode or something. Everything OK on flutter doctor though...
The report I receive is:
Mariuss-MacBook-Pro:my_repository-15.10 mariuspruna$ flutter run -d D79DA193-4A54-4D3F-B029-E42F046EEFAF
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
├─Assembling Flutter resources... 13.8s
└─Compiling, linking and signing... 15.6s
Xcode build done. 34.2s
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23b98958 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff255eb6f5 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 UIKitCore 0x00007fff47163f36 -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:] + 255
5 UIKitCore 0x00007fff471643d9 -[UIApplication statusBar] + 24
6 Foundation <…>
Lost connection to device.
Syncing files to device iPhone 11 Pro Max...
Mariuss-MacBook-Pro:my_repository-15.10 mariuspruna$
Thanks for any suggestions.