Skip to content

iOS: Blank screen in running my flutter app in release mode #36247

@hesham91fci

Description

@hesham91fci

Currently when running my app either from the terminal through the command flutter run -d "iPhone" --release or directly from xcode in release mode I got blank screen, and when inspecting the logs I can find the following error.
Runner[3296:651656] [VERBOSE-2:engine.cc(116)] Engine run configuration was invalid. Runner[3296:651656] [VERBOSE-2:FlutterEngine.mm(294)] Could not launch engine with configuration.
Kindly find below the output of flutter doctor

- Doctor summary (to see all details, run flutter doctor -v):
- [✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.5 18F132, locale en-EG)
- [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
- [!] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
-     ✗ CocoaPods not installed.
-         CocoaPods is used to retrieve the iOS platform side's plugin code that
-         responds to your plugin usage on the Dart side.
-         Without resolving iOS dependencies with CocoaPods, plugins will not work
-         on iOS.
-         For more info, see https://flutter.io/platform-plugins
-       To install:
-         brew install cocoapods
-         pod setup
- [✓] Android Studio (version 3.2)
- [✓] Connected device (2 available)

Any help would be appreciated,
thanks in advance :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: crashStack traces logged to the consolecustomer: crowdAffects or could affect many people, though not necessarily a specific customer.engineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions