Failed to send request: {"jsonrpc":"2.0","id":"26","method":"getMemoryUsage","params":{"isolateId":"isolates/430315217091623"}}
Exception: Unable to terminate com.***.*** on DEC7A7D2-0B3F-......:
ProcessException: Process exited abnormally:
Command: xcrun simctl terminate DEC7A7D2-0B3F-...... com.***.***
the Dart compiler exited unexpectedly.
There are two solutions according to the reference document
1.Add startup parameters: --no-enable-impeller
2.Modify the Info.plist file
<key>FLTEnableImpeller</key>
<false/>
This modification can indeed solve the problem, but I personally think it would be a bit cumbersome to modify it every time I create a new project. Is there any way to do it once and for all? For example: Are there any global configuration parameters?
In addition, will this problem only appear on the IOS simulator or will it also appear on real machines with lower system versions? If Impeller is disabled in Info.plist, will it affect the performance of the release version of the application on the real machine?
Modify the Info.plist file
<key>FLTEnableImpeller</key>
<false/>