Skip to content

Errors launching... #2

@miatheunistudent

Description

@miatheunistudent

Here's the error code :

Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
Xcode build done.                                           20,3s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/mia/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pinch_zoom_image_updated-0.2.6/ios/Classes/SwiftPinchZoomImagePlugin.swift:13:55: error: cannot find 'UIWindowLevelstatusBar' in scope
            UIApplication.shared.keyWindow?.windowLevel = UIWindowLevelstatusBar
                                                          ^~~~~~~~~~~~~~~~~~~~~~
    /Users/mia/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/pinch_zoom_image_updated-0.2.6/ios/Classes/SwiftPinchZoomImagePlugin.swift:16:55: error: cannot find 'UIWindowLevelnormal' in scope
            UIApplication.shared.keyWindow?.windowLevel = UIWindowLevelnormal
                                                          ^~~~~~~~~~~~~~~~~~~
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions