fluttercommunity / fluttercommunity/chewie
This dependency is not working is release of iOS with Xcode 12.
- Dominant language
- Dart
- Stars
- 2.1k
- Forks
- 1.1k
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 6
Description
This Error generated while using this dependency. And, I know this error is related to Wakelock dependency but your package is highly dependent on WAKELOCK, I guess?
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
In file included from /Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:1:
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.h:3:38: error: no type or protocol named 'FlutterPlugin'
@interface WakelockPlugin : NSObject
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:4:41: error: no type or protocol named 'FlutterPluginRegistrar'
+ (void)registerWithRegistrar:(NSObject*)registrar {
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:12:27: error: expected a type
- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:12:59: error: expected a type
- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:5:3: error: use of undeclared identifier 'FlutterMethodChannel'
FlutterMethodChannel* channel = [FlutterMethodChannel
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:5:25: error: use of undeclared identifier 'channel'
FlutterMethodChannel* channel = [FlutterMethodChannel
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:5:36: error: use of undeclared identifier 'FlutterMethodChannel'
FlutterMethodChannel* channel = [FlutterMethodChannel
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:9:14: error: no visible @interface for 'NSObject' declares the selector 'addMethodCallDelegate:channel:'
[registrar addMethodCallDelegate:instance channel:channel];
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:13:39: error: property 'method' not found on object of type '__strong id'
if ([@"toggle" isEqualToString:call.method]) {
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:14:29: error: property 'arguments' not found on object of type '__strong id'
NSNumber *enable = call.arguments[@"enable"];
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:18:13: error: called object type 'id' is not a function or function pointer
result(nil);
~~~~~~^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:21:13: error: called object type 'id' is not a function or function pointer
result(nil);
~~~~~~^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:23:49: error: property 'method' not found on object of type '__strong id'
} else if ([@"isEnabled" isEqualToString:call.method]) {
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:24:11: error: called object type 'id' is not a function or function pointer
result([NSNumber numberWithBool:[[UIApplication sharedApplication] isIdleTimerDisabled]]);
~~~~~~^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:26:11: error: called object type 'id' is not a function or function pointer
result(FlutterMethodNotImplemented);
~~~~~~^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:9:53: error: use of undeclared identifier 'channel'
[registrar addMethodCallDelegate:instance channel:channel];
^
/Users/waqas/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/wakelock-0.1.4+2/ios/Classes/WakelockPlugin.m:26:12: error: use of undeclared identifier 'FlutterMethodNotImplemented'
result(FlutterMethodNotImplemented);
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.