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
flutter run 无法运行 #729
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running "flutter pub get" in gsy_github_app_flutter... 1.2s
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Running pod install... 2.7s
Running Xcode build...
Xcode build done. 29.5s
Failed to build iOS app
Error output from Xcode build:
↳
2020-08-08 16:25:47.723 xcodebuild[8369:98415] [MT] DVTPlugInManager: Required plug-in compatibility UUID C80A9C11-3902-4885-944E-A035869BA910 for KSImageNamed.ideplugin
(com.ksuther.KSImageNamed) not present
** BUILD FAILED **
Xcode's output:
↳
In file included from /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.m:26:
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '@param' command
[-Wdocumentation]
@param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '@param' command
[-Wdocumentation]
@param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function
declaration [-Wdocumentation]
@param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
@param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '@param' command
[-Wdocumentation]
@param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from /Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:2:
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '@param' command
[-Wdocumentation]
@param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '@param' command
[-Wdocumentation]
@param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function
declaration [-Wdocumentation]
@param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
@param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '@param' command
[-Wdocumentation]
@param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/lijun/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[@"size"];
^
8 warnings generated.
error: the following command failed with exit code 0 but produced no further output
CompileC
/Users/lijun/Library/Developer/Xcode/DerivedData/Runner-chyzzdppxeuijqcdtdbmsvyylxwp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FMDB.build/Objects-normal/x86_64/FMDatabaseQ
ueue.o /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
error: the following command failed with exit code 0 but produced no further output
CompileC
/Users/lijun/Library/Developer/Xcode/DerivedData/Runner-chyzzdppxeuijqcdtdbmsvyylxwp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FMDB.build/Objects-normal/x86_64/FMDatabaseP
ool.o /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
/Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1252:95: warning: parameter of overriding method should be annotated with attribute((noescape))
[-Wmissing-noescape]
- (BOOL)executeStatements:(NSString *)sql withResultBlock:(FMDBExecuteStatementsCallbackBlock)block {
^
In file included from /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1:
/Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.h:514:131: note: parameter of overridden method is annotated with attribute((noescape))
- (BOOL)executeStatements:(NSString )sql withResultBlock:(attribute((noescape)) FMDBExecuteStatementsCallbackBlock _Nullable)block;
^
/Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1394:51: warning: parameter of overriding method should be annotated with attribute((noescape))
[-Wmissing-noescape]
- (NSError)inSavePoint:(void (^)(BOOL *rollback))block {
^
In file included from /Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1:
/Users/lijun/Downloads/gsy_github_app_flutter/ios/Pods/FMDB/src/fmdb/FMDatabase.h:988:88: note: parameter of overridden method is annotated with attribute((noescape))
- (NSError * _Nullable)inSavePoint:(attribute((noescape)) void (^)(BOOL *rollback))block;
^
2 warnings generated.
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:26: Error: Type 'DiagnosticableMixin' not found.
class PictureStream with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:192:44: Error: Type 'DiagnosticableMixin' not found.
abstract class PictureStreamCompleter with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class PictureStream with DiagnosticableMixin {
^
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:192:16: Error: The type 'DiagnosticableMixin' can't be mixed in.
abstract class PictureStreamCompleter with DiagnosticableMixin {
^
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:167:11: Error: Superclass has no method named 'debugFillProperties'.
super.debugFillProperties(properties);
^^^^^^^^^^^^^^^^^^^
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:171:30: Error: The method 'toStringShort' isn't defined for the class
'PictureStreamCompleter'.
- 'PictureStreamCompleter' is from 'package:flutter_svg/src/picture_stream.dart'
('../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringShort'.
ifPresent: _completer?.toStringShort(),
^^^^^^^^^^^^^
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.17.4/lib/src/picture_stream.dart:266:11: Error: Superclass has no method named 'debugFillProperties'.
super.debugFillProperties(description);
^^^^^^^^^^^^^^^^^^^
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
The text was updated successfully, but these errors were encountered: