Sudhansu CronJ
Sudhansu CronJ

Reputation: 195

Getting error while running flutter project in simulator in debug mode

Error comes after running flutter run

The Xcode project does not define target "Runner" which is needed by

Flutter

tooling.

Open Xcode to fix the problem:

open ios/Runner.xcworkspace

Encountered error while building for device.

Upvotes: 2

Views: 842

Answers (1)

kristoft
kristoft

Reputation: 11

Just make sure that your app target called "Runner". It seems that flutter tooling relies on this target name. Example

Upvotes: 1

Related Questions