Skip to content

flutter run with missing Runner.xcodeproj/project.pbxproj file results in flutter crash... #28231

@kf6gpe

Description

@kf6gpe

I'd expect an error of some sort, but instead flutter run just fails:

Running "flutter packages get" in zapmap...                         1.6s
Launching lib/main.dart on iPhone XS Max in debug mode...

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: a3f75c0cb8ff36a2)
Crash report written to /Users/rischpater/Downloads/zapmap/zapmap/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.
rischpater-macbookair:~/Downloads/zapmap/zapmap

Here's the crash report:

Flutter crash report; please file at https://github.com/flutter/flutter/issues.

command

flutter run

exception

FileSystemException: FileSystemException: Cannot open file, path = '/Users/rischpater/Downloads/zapmap/zapmap/ios/Runner.xcodeproj/project.pbxproj' (OS Error: No such file or directory, errno = 2)
#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:364:9)
#1      _rootRunUnary (dart:async/zone.dart:1132:38)
#2      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:483:5)
#7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#13     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions