SystemShortcutsFlutter icon indicating copy to clipboard operation
SystemShortcutsFlutter copied to clipboard

Build error: Variable '_arguments' was never mutated;

Open Fhyrel opened this issue 4 years ago • 0 comments

Hello, I have an error during build on iOS:

** BUILD FAILED **

Xcode's output:
/.../flutter/.pub-cache/hosted/pub.dartlang.org/system_shortcuts-0.2.2/ios/Classes/SwiftySystemShortcutsPlugin.swift:32:14: warning: variable '_arguments' was never mutated; consider changing to 'let' constant.

var _arguments = call.arguments as! [String : Any];

/.../flutter/.pub-cache/hosted/pub.dartlang.org/system_shortcuts-0.2.2/ios/Classes/SwiftySystemShortcutsPlugin.m:8:9: fatal error: 'SystemShortcutsFlutter-Swift.h' file not found
#import "SystemShortcutsFlutter-Swift.h"

1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description

Fhyrel avatar Apr 20 '20 11:04 Fhyrel