Skip to content

Build error: Variable '_arguments' was never mutated; #7

@Fhyrel

Description

@Fhyrel

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

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