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

build failed #62

Closed
akinschen opened this issue Sep 9, 2019 · 3 comments · Fixed by #65
Closed

build failed #62

akinschen opened this issue Sep 9, 2019 · 3 comments · Fixed by #65
Assignees
Labels
iOS iOS specific

Comments

@akinschen
Copy link

Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

/Users/apple/git_flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/workmanager-0.1.0/ios/Classes/SwiftWorkmanagerPlugin.swift:98:156: error: argument type 'FlutterEngine' does not conform to expected type 'FlutterBinaryMessenger'
var backgroundMethodChannel: FlutterMethodChannel? = FlutterMethodChannel(name: BackgroundMethodChannel.channelName, binaryMessenger: flutterEngine!)
~~~~~~~~~~~~~^
as! FlutterBinaryMessenger

@akinschen
Copy link
Author

Which flutter version is flutter_workmanager support?

@Kymer Kymer added the iOS iOS specific label Sep 9, 2019
@Kymer Kymer self-assigned this Sep 9, 2019
@Kymer
Copy link

Kymer commented Sep 9, 2019

We use Flutter 1.7.8+hotfix.4 • channel stable. Can you run flutter doctor and report back?

@Kymer
Copy link

Kymer commented Sep 11, 2019

@akinschen This has been fixed in version 0.1.1 of the plugin 👍

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

Successfully merging a pull request may close this issue.

2 participants