Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors launching... #2

Open
miatheunistudent opened this issue Jan 22, 2021 · 1 comment
Open

Errors launching... #2

miatheunistudent opened this issue Jan 22, 2021 · 1 comment

Comments

@miatheunistudent
Copy link

miatheunistudent commented Jan 22, 2021

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.
@rahul-badgujar
Copy link
Owner

I think there is an issue with the PinchZoomIn package for iOS. as well that package is not very important for the application and can be removed along with its use in codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants