-
Notifications
You must be signed in to change notification settings - Fork 937
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 ios warning: incompatible pointer to integer conversion assigning to 'BOOL' (aka 'signed char') from 'id _Nullable' #409
Comments
sorry,Somewhat chaotic |
meet the issue too,already set info.plist |
flutter doctor:
info.plist already set Xcode target: iOS 10 my build report
|
Same issue, but with |
I fixed all the error by following steps,you can have a try |
I am using flutter_webview_plugin 0.3.11 with Flutter 1.17 and still see 4 warnings generated:
|
any update on this one will be appreciated |
same issue here, any update? |
/Users/furun/.pub-cache/hosted/pub.flutter-io.cn/flutter_webview_plugin-0.3.4/ios/Classes/FlutterWebviewPlugin.m:83:22: warning: incompatible pointer to integer conversion assigning to 'BOOL' (aka 'signed char') from 'id _Nullable' [-Wint-conversion] _enableAppScheme = call.arguments[@"enableAppScheme"]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/furun/.pub-cache/hosted/pub.flutter-io.cn/flutter_webview_plugin-0.3.4/ios/Classes/FlutterWebviewPlugin.m:252:24: warning: comparison of distinct pointer types ('NSString *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types] if (_invalidUrlRegex != [NSNull null] && urlString != nil) { ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ /Users/furun/.pub-cache/hosted/pub.flutter-io.cn/flutter_webview_plugin-0.3.4/ios/Classes/FlutterWebviewPlugin.m:318:94: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat] [channel invokeMethod:@"onError" arguments:@{@"code": [NSString stringWithFormat:@"%ld", error.code], @"error": error.localizedDescription}]; ~~~ ^~~~~~~~~~ %ld (long)
The text was updated successfully, but these errors were encountered: