I'm still facing this issue and haven't found a working solution yet.
Every time I run my Flutter app on iOS Simulator, I get the following error:
Error initializing DevFS:
DevFSException(Service disconnected, _createDevFS: (-32000) Service connection disposed, null)
Steps I've tried so far:
Ran flutter clean, flutter pub get
Reinstalled pods (deleted Pods, Podfile.lock, .symlinks, etc.)
Rebuilt iOS project with pod install
Erased and restarted all simulators
Simplified my main.dart to just show a Text widget
Made sure all xcconfig files include CocoaPods settings
Tried different iOS simulator devices
Updated Flutter to latest stable (Flutter 3.22.x at time of writing)
Verified flutter doctor has no errors
Also tried flutter run --release
Still getting the same error.
Full crash report shows a segmentation fault (SIGSEGV) around UIImageView/intrinsicContentSize which may suggest a corrupted image or native issue.
If anyone has encountered this or found a workaround, I’d really appreciate any tips or directions