Code Monkey home page Code Monkey logo

wechat_flutter's Introduction

GitHub stars GitHub forks GitHub issues

If there is a problem that other dependencies cannot be compiled, you can try to remove the "^" of all dependencies in dependencies in pubspec.yaml or change the plug-in version number to any, and try to compile again. 6 If there is still an error, execute flutter clean in the main directory of the project and run again. 7 If the plug-in version does not match, remember to check whether the plug-in flutter version introduced in the pubspec.yaml file is compatible with your local Flutter.

Related documents

List of problems and solutions

课程说明

本项目出配套课程啦,耗时6个月打造,flutter3最新版本,从0到1实现微信,包含im聊天单聊群聊功能:https://edu.csdn.net/course/detail/39189

log

  • 2023.12.28 merge 3.0.5 of flutter version and Android sdk 33【android 13】.

  • 2022.06.28 Replace the pure ui branch simulation picture address [12:00]

  • 2022.06.28 create pure ui branch [10:00]

  • 2022.05.28 Update environment information and post problem list and solution index

  • 2022.05.26 Began to be compatible with flutter2.10.4

  • 2022.05.26 List the errors and how to fix them

  • 2022.05.15 Repair and supplement Android installation package link and QR code

  • 2021.11.08 Adapt to flutter 2.5

  • 2021.05.12 Adapt to iOS, solve running problems

  • 2021.05.10 Adapt to Flutter2 stable branch [11:45]

  • 2021.05.10 Fix im plugin example can not get dependencies, fix lib/ui/flutter/my_cupertino_dialog.dart

  • 2021.01.16 Added a new payment page, waiting for the icon to be completed [14:49]

  • 2021.01.16 Adapt to Flutter (Channel stable, 1.22.5)

  • 2020.08.25 Adapt to Flutter (Channel stable, 1.20.2)

  • 2020.07.29 Upload avatar capture error [15:45]

  • 2020.07.29 Repair login, logout, and modify information reporting status management monitoring errors;

  • 2020.06.30 Only when the group members are more than 20 will it display all group members, and the group owner will display the group management item [afternoon]

  • 2020.06.30 Session list no session message judgment display, fix session error reporting, group announcement complete display [AM

  • 2020.06.26 Quit group chat and disband group chat functions, chat member page, select member page [PM].

  • 2020.06.26 Modify group chat name page, change chat background page, fix webView [AM].

  • 2020.06.24 Group announcement, change group announcement message body content display, add group notes, add group QR code page;

  • 2020.06.23 Group chat detail page creation;

  • 2020.06.21 Session list chat content display expressions [10 points].

  • 2020.06.20 Fix an error when recording video is finished [17:48].

  • 2020.06.20 Remove the initialized tap effect [17 points

  • 2020.06.20 Fix the empty session list [12:00].

  • 2020.06.20 Fix group chat messages not appearing in the session list [09 points].

  • 2020.06.18 Added WeChat tap effect;

  • 2020.06.17 Added display of initiated group chat and group chat list;

  • 2020.06.16 Added the function of chatting with expressions;

  • 2020.06.15 Fix the package flashback problem;

  • 2020.02.14 Adaptation of Flutter v1.17.3;

  • 2020.02.16 adapt flutter v1.12.13 and Androidx, fix Android running problems;

  • 2019.12.30 remove extended_text_field;

Introduction

wechat_flutter is a flutter version of WeChat, currently has implemented the basic functions of instant messaging, support for Android and IOS, specific download experience. Download it and experience it! start.gif

Effect

1.gif 2.gif 3.gif
4.gif 5.gif 6.gif
7.gif 8.gif 9.gif

Download Experience(Android) [Test account 166, login directly]: https://wwc.lanzoul.com/iQlkj04vnhsj

To prevent the QR code above from not displaying:

For IOS, just pull down the project and run it directly.

Features

  • text message
  • Emotion messages
  • Image messages
  • Voice messages
  • Delete session
  • Language internationalization
  • Account registration
  • Account login
  • Auto-login
  • Session list
  • Address Book
  • Change avatar
  • Show avatar
  • Show nickname
  • Change nickname
  • Search for friends
  • Add a friend
  • Delete Friends
  • Video shooting
  • Video message
  • Location messages
  • Create a group chat
  • Quit group chat
  • Dismiss a group chat
  • Group chat list
  • Group chat announcement
  • Modify group name
  • Group chat message (text)
  • Swipe
  • Set notes

Third Party Framework

Library Features
dim instant messaging
shared_preferences persistent_storage
provider state management
cached_network_image Image caching
toast message alerts
webview_flutter web page display
image_picker image and video selection
extended_text extended_text
url_launcher open_browser_browse
connectivity check network connection
photo_view zoom in on images
dio network_frame
open_file open_file
package_info package information
flutter_sound Audio recording and processing
permission_handler permission management
audioplayers audio playback processing
camera camera
video_player video_players
extended_text_field extended_text_input
flutter_image_compress image compression
lpinyin Get Chinese pinyin
azlistview Special list slider
wechat_assets_picker WeChat image gallery

Tutorials for using

IOS

  • Enter the project IOS directory: $ cd ios/
  • Update Pod (not required): $ pod update
  • Install Pod: $ pod install

If you get (Connection refused - connect(2) for "raw.githubusercontent.com" port 443), then you haven't set up the domestic source. Or try to go over the wall.

My Flutter environment

[✓] Flutter (Channel unknown, 3.0.5, on macOS 13.0 22A5331f darwin-x64, locale en-CN)
    • Flutter version 3.0.5 at /opt/fvm/versions/3.0.5
    • Upstream repository unknown
    • Framework revision f1875d570e (1 year, 5 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/q1/android-sdk-macosx
    • Platform android-34, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (3 available)
    • SHARK KSR A0 (mobile) • 6fc7fbe3 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)       • macos    • darwin-x64     • macOS 13.0 22A5331f darwin-x64
    • Chrome (web)          • chrome   • web-javascript • Google Chrome 120.0.6099.129

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Problems running androidx.core:core

Error message:
Android dependency 'androidx.core:core' has different version for 
the compile (1.0.0) and runtime (1.0.2) classpath. 
manually set the same version via DependencyResolution
You should set the same version via DependencyResolution.
Solution

External Libraries => Flutter Plugins => image_picker-0.6.1+2 at the bottom of the project => android => build.gradle then at the bottom there is androidx.core:core:version.

Change it directly to androidx.core:core:1.0.0.

android {
    compileSdkVersion 28

    defaultConfig {
        minSdkVersion 16
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    lintOptions {
        disable 'InvalidPackage'
    }
    dependencies {
        implementation 'androidx.core:core:1.0.0'
        implementation 'androidx.annotation:annotation:1.0.0'
    }
}

And then change the permission_handler as well.

About the project has not been updated for too long

I'm sorry guys, but from now on I'm in maintenance mode. Sorry guys, from now on into maintenance.

Future

Flutter WeChat group

The above image cannot be displayed click me

Flutter tutorial website: www.flutterj.com

Flutter exchange QQ group: 874592746

LICENSE

fluttercandies/wechat_flutter is licensed under the
Apache License 2.0

A permissive license whose main conditions require preservation of copyright and license notices. 
Contributors provide an express grant of patent rights. 
Licensed works, modifications, and larger works may be distributed under different terms and without source code.

wechat_flutter's People

Contributors

ahyangnb avatar alexv525 avatar nomeleel avatar songyongling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wechat_flutter's Issues

推荐好友,疯狂点击添加会报错。

action(UserData model) {
    addFriend(
      model.identifier,
      context,
      suCc: (v) {
        if (v) {
          showToast(context, '添加成功');
          sendTextMsg(model.identifier, 1, '你好${model.name},我添加你为好友啦');
          Navigator.of(context).pop();
        }
      },
    );
  }

这时候的 Navigator.of(context).pop(); 不能这样写,因为有可能content已经销毁。

扫一扫功能

你好,请问扫一扫的功能是不是还没有开发出来?

一直卡在Running Gradle task 'assembleDebug'...

image
请问一下,一直卡在“Running Gradle task 'assembleDebug'... ”应该如何解决啊?我搜索后改了很多地方的配置,包括maven的,flutter.gradle以及项目的android下的build.gradle,但是还是不行。问题在于:引用的第三方库能够正常下载,但是有些第三方库依赖其他库,这些第三方库自带了一个android目录,里面的build.gradle使用了国外的镜像,有没有办法能够修改配置可以让所有第三方库都能够正常下载呢?

Flutter 2.2.1,项目无法运行 & 解决办法

运行环境

Flutter 2.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 02c026b03c (10 days ago) • 2021-05-27 12:24:44 -0700
Engine • revision 0fdb562ac8
Tools • Dart 2.13.1

解决办法

修改 extended_text extended_text_field extended_text_library版本

extended_text: ^7.0.0 #Flutter2用这个,其他可注释
extended_text_field: ^8.0.0 #Flutter2用这个,其他可注释
extended_text_library: ^7.0.0 #Flutter2用这个,其他可注释

The plugin `dim` uses a deprecated version of the Android embedding.

The plugin dim uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove
these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

这个错一直过不了

wechat_flutter-master/ios/Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK' for architecture arm64

ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Volumes/zkq/wechat_flutter-master/ios/Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel
Result bundle written to path:
/var/folders/f2/pfjm83yx3qj6wlghsf0v30zw0000gn/T/flutter_tools.wttWs7/flutter_ios_build_temp_dirjh4BCc/temporary_xcresult_bundle
Error (Xcode): Building for iOS Simulator, but linking in dylib built for iOS, file '/Volumes/zkq/wechat_flutter-master/ios/Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK' for architecture arm64

Could not build the application for the simulator.
Error launching application on iPhone 13 Pro Max.

求解决

请问如何实现聊天界面呢

能提供下思路么?进去的时候要滚动到底部显示最新的消息,这个用listview的反转实现,但假如只有一条信息不满一屏,这条信息也会显示在底部,如何让它自动显示在顶部呢

run 报错 “'ExtendedEditableTextState' is missing”

Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: GU782MS4KM
Warning: Podfile is out of date
This can cause issues if your application depends on plugins that do not support iOS.
See https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms for details.
If you have local Podfile edits you would like to keep, see flutter/flutter#45197 for instructions.
To regenerate the Podfile, run:
rm ios/Podfile

Running Xcode build...
Xcode build done. 33.0s
Failed to build iOS app
Error output from Xcode build:

2020-10-28 11:04:34.298 xcodebuild[32796:347968] DTDeviceKit: deviceType from 00008030-000D28643C38802E was NULL
2020-10-28 11:04:34.431 xcodebuild[32796:348112] DTDeviceKit: deviceType from 00008030-000D28643C38802E was NULL
2020-10-28 11:04:34.431 xcodebuild[32796:348112] DTDeviceKit: deviceType from 00008030-000D28643C38802E was NULL
** BUILD FAILED **

Xcode's output:

/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-0.5.8/ios/Classes/core/PMManager.m:725:42: warning: 'openURL:options:completionHandler:' is only available on iOS 10.0 or newer [-Wunguarded-availability]
[[UIApplication sharedApplication] openURL:url
^~~~~~~~~~~
In module 'UIKit' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Target Support Files/photo_manager/photo_manager-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:130:1: note: 'openURL:options:completionHandler:' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
- (void)openURL:(NSURL*)url options:(NSDictionary<UIApplicationOpenExternalURLOptionsKey, id> *)options completionHandler:(void (^ __nullable)(BOOL success))completion API_AVAILABLE(ios(10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-0.5.8/ios/Classes/core/PMManager.m:725:42: note: enclose 'openURL:options:completionHandler:' in an @available check to silence this warning
[[UIApplication sharedApplication] openURL:url
^~~~~~~~~~~
1 warning generated.
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/permission_handler-3.1.0/ios/Classes/strategies/PhotoPermissionStrategy.m:38:13: warning: enumeration value 'PHAuthorizationStatusLimited' not handled in switch [-Wswitch]
switch (authorizationStatus) {
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/permission_handler-3.1.0/ios/Classes/strategies/PhotoPermissionStrategy.m:38:13: note: add missing switch cases
switch (authorizationStatus) {
^
1 warning generated.
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1462:38: warning: variable 'sum_left' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1426:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1462:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1425:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1546:38: warning: variable 'sum_left' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1510:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1546:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/dsp/dec_neon.c:1509:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
4 warnings generated.
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/enc/backward_references_enc.c:663:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/libwebp/src/enc/backward_references_enc.c:595:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-1.7.0/ios/Classes/FlutterSoundPlugin.m:176:21: warning: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Wshorten-64-to-32]
numChannels = [numChannelsArgs integerValue];
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-1.7.0/ios/Classes/FlutterSoundPlugin.m:265:3: warning: 'AudioSessionSetProperty' is deprecated: first deprecated in iOS 7.0 - no longer supported [-Wdeprecated-declarations]
AudioSessionSetProperty(kAudioSessionProperty_OverrideCategoryDefaultToSpeaker, sizeof(doChangeDefaultRoute), &doChangeDefaultRoute);
^
In module 'AVFoundation' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-1.7.0/ios/Classes/FlutterSoundPlugin.h:2:
In module 'MediaToolbox' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMix.h:21:
In module 'AudioToolbox' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:15:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioSession.h:749:2: note: 'AudioSessionSetProperty' has been explicitly marked deprecated here
AudioSessionSetProperty( AudioSessionPropertyID inID,
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-1.7.0/ios/Classes/FlutterSoundPlugin.m:269:3: warning: 'AudioSessionSetProperty' is deprecated: first deprecated in iOS 7.0 - no longer supported [-Wdeprecated-declarations]
AudioSessionSetProperty (kAudioSessionProperty_OverrideCategoryEnableBluetoothInput,sizeof (allowBluetoothInput),&allowBluetoothInput);
^
In module 'AVFoundation' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-1.7.0/ios/Classes/FlutterSoundPlugin.h:2:
In module 'MediaToolbox' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMix.h:21:
In module 'AudioToolbox' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h:15:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioSession.h:749:2: note: 'AudioSessionSetProperty' has been explicitly marked deprecated here
AudioSessionSetProperty( AudioSessionPropertyID inID,
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-1.7.0/ios/Classes/FlutterSoundPlugin.m:276:30: warning: sending 'FlutterSoundPlugin *const __strong' to parameter of incompatible type 'id _Nullable'
[audioRecorder setDelegate:self];
^~~~
In module 'AVFoundation' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-1.7.0/ios/Classes/FlutterSoundPlugin.h:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/Headers/AVAudioRecorder.h:57:55: note: passing argument to parameter 'delegate' here
@Property(weak, nullable) id delegate;
^
4 warnings generated.
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataTIFF.m:35:65: warning: 'kCGImagePropertyTIFFTileWidth' is only available on iOS 9.0 or newer [-Wunguarded-availability]
SYStringSel(tileWidth): (NSString *)kCGImagePropertyTIFFTileWidth,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'ImageIO' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataTIFF.m:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h:148:34: note: 'kCGImagePropertyTIFFTileWidth' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFTileWidth IMAGEIO_AVAILABLE_STARTING(10.11, 9.0);
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataTIFF.m:35:65: note: enclose 'kCGImagePropertyTIFFTileWidth' in an @available check to silence this warning
SYStringSel(tileWidth): (NSString *)kCGImagePropertyTIFFTileWidth,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataTIFF.m:36:65: warning: 'kCGImagePropertyTIFFTileLength' is only available on iOS 9.0 or newer [-Wunguarded-availability]
SYStringSel(tileLength): (NSString *)kCGImagePropertyTIFFTileLength,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'ImageIO' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataTIFF.m:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h:149:34: note: 'kCGImagePropertyTIFFTileLength' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFTileLength IMAGEIO_AVAILABLE_STARTING(10.11, 9.0);
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataTIFF.m:36:65: note: enclose 'kCGImagePropertyTIFFTileLength' in an @available check to silence this warning
SYStringSel(tileLength): (NSString *)kCGImagePropertyTIFFTileLength,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataPNG.m:32:61: warning: 'kCGImagePropertyPNGCompressionFilter' is only available on iOS 9.0 or newer [-Wunguarded-availability]
SYStringSel(compressionFilter): (NSString *)kCGImagePropertyPNGCompressionFilter,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'ImageIO' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataPNG.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h:774:34: note: 'kCGImagePropertyPNGCompressionFilter' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGCompressionFilter IMAGEIO_AVAILABLE_STARTING(10.11, 9.0);
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataPNG.m:32:61: note: enclose 'kCGImagePropertyPNGCompressionFilter' in an @available check to silence this warning
SYStringSel(compressionFilter): (NSString )kCGImagePropertyPNGCompressionFilter,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-0.6.8/ios/Classes/SYPictureMetadata/SYMetadataExif.m:9:9: warning: non-portable path to file '"SYMetadataExif.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "SYMetadataEXIF.h"
^~~~~~~~~~~~~~~~~~
"SYMetadataExif.h"
1 warning generated.
In file included from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/wechat_flutter_plugin/ios/Classes/DimPlugin.m:3:
In file included from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/YYModel.h:17:
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/NSObject+YYModel.h:29:7: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYAuthor : NSObject
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/NSObject+YYModel.h:36:7: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYBook : NSObject
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/NSObject+YYModel.h:54:7: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYShadow :NSObject <NSCoding, NSCopying>
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/NSObject+YYModel.h:285:10: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYBook : NSObject
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/NSObject+YYModel.h:313:10: warning: '@Class' command should not be used in a comment attached to a non-class declaration [-Wdocumentation]
@Class YYShadow, YYBorder, YYAttachment;
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/NSObject+YYModel.h:315:10: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYAttributes
~^~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Headers/Private/YYModel/NSObject+YYModel.h:343:10: warning: '@Class' command should not be used in a comment attached to a non-class declaration [-Wdocumentation]
@Class YYCircle, YYRectangle, YYLine;
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
In file included from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.m:12:
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.h:29:7: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYAuthor : NSObject
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.h:36:7: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYBook : NSObject
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.h:54:7: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYShadow :NSObject <NSCoding, NSCopying>
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.h:285:10: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYBook : NSObject
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.h:313:10: warning: '@Class' command should not be used in a comment attached to a non-class declaration [-Wdocumentation]
@Class YYShadow, YYBorder, YYAttachment;
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.h:315:10: warning: '@interface' command should not be used in a comment attached to a non-interface declaration [-Wdocumentation]
@interface YYAttributes
~^~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.h:343:10: warning: '@Class' command should not be used in a comment attached to a non-class declaration [-Wdocumentation]
@Class YYCircle, YYRectangle, YYLine;
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.m:1066:49: warning: this block declaration is not a prototype [-Wstrict-prototypes]
((void (
)(id, SEL, void (^)()))(void ) objc_msgSend)((id)model, meta->_setter, (void (^)())NULL);
^
void
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.m:1066:111: warning: this block declaration is not a prototype [-Wstrict-prototypes]
((void (
)(id, SEL, void (^)()))(void ) objc_msgSend)((id)model, meta->_setter, (void (^)())NULL);
^
void
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.m:1068:49: warning: this block declaration is not a prototype [-Wstrict-prototypes]
((void (
)(id, SEL, void (^)()))(void ) objc_msgSend)((id)model, meta->_setter, (void (^)())value);
^
void
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/YYModel/YYModel/NSObject+YYModel.m:1068:111: warning: this block declaration is not a prototype [-Wstrict-prototypes]
((void (
)(id, SEL, void (^)()))(void *) objc_msgSend)((id)model, meta->_setter, (void (^)())value);
^
void
11 warnings generated.
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:66:24: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer [-Wunguarded-availability]
- (void)captureOutput:(AVCapturePhotoOutput *)output
^
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:66:1: note: annotate 'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:' with an availability attribute to silence this warning
- (void)captureOutput:(AVCapturePhotoOutput *)output
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:69:43: warning: 'AVCaptureResolvedPhotoSettings' is only available on iOS 10.0 or newer [-Wunguarded-availability]
resolvedSettings:(AVCaptureResolvedPhotoSettings *)resolvedSettings
^
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1314:12: note: 'AVCaptureResolvedPhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCaptureResolvedPhotoSettings : NSObject
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:66:1: note: annotate 'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:' with an availability attribute to silence this warning
- (void)captureOutput:(AVCapturePhotoOutput *)output
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:78:7: warning: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' is only available on iOS 10.0 or newer [-Wunguarded-availability]
JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:492:1: note: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
+ (nullable NSData *)JPEGPhotoDataRepresentationForJPEGSampleBuffer:(CMSampleBufferRef)JPEGSampleBuffer previewPhotoSampleBuffer:(nullable CMSampleBufferRef)previewPhotoSampleBuffer API_DEPRECATED_WITH_REPLACEMENT("-[AVCapturePhoto fileDataRepresentation]", ios(10.0, 11.0)) API_UNAVAILABLE(macos);
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:78:7: note: enclose 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' in an @available check to silence this warning
JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:77:19: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer [-Wunguarded-availability]
NSData *data = [AVCapturePhotoOutput
^~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:77:19: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
NSData *data = [AVCapturePhotoOutput
^~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:163:52: warning: this block declaration is not a prototype [-Wstrict-prototypes]
@Property(nonatomic, copy) void (^onFrameAvailable)();
^
void
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:170:32: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer [-Wunguarded-availability]
@Property(readonly, nonatomic) AVCapturePhotoOutput *capturePhotoOutput;
^
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:158:12: note: annotate 'FLTCam' with an availability attribute to silence this warning
@interface FLTCam : NSObject <FlutterTexture,
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:257:26: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer [-Wunguarded-availability]
_capturePhotoOutput = [AVCapturePhotoOutput new];
^~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCapturePhotoOutput : AVCaptureOutput
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:257:26: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
_capturePhotoOutput = [AVCapturePhotoOutput new];
^~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:276:3: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer [-Wunguarded-availability]
AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
^~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:780:12: note: 'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCapturePhotoSettings : NSObject
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:276:3: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
^~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:276:39: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer [-Wunguarded-availability]
AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
^~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:780:12: note: 'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCapturePhotoSettings : NSObject
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:276:39: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
^~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:299:48: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer [-Wunguarded-availability]
if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:299:48: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:300:41: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer [-Wunguarded-availability]
_captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:131:41: note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160 API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:300:41: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
_captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:850:10: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
[_registry textureFrameAvailable:textureId];
^
self->
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:804:5: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer [-Wunguarded-availability]
AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1875:12: note: 'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCaptureDeviceDiscoverySession : NSObject
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:804:5: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:804:58: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer [-Wunguarded-availability]
AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1875:12: note: 'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@interface AVCaptureDeviceDiscoverySession : NSObject
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:804:58: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:805:44: warning: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' is only available on iOS 10.0 or newer [-Wunguarded-availability]
discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:448:38: note: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInWideAngleCamera API_AVAILABLE(macos(10.15), ios(10.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
^
/Users/taozeyu/Downloads/wechat_flutter-master/plugin/camera/ios/Classes/CameraPlugin.m:805:44: note: enclose 'AVCaptureDeviceTypeBuiltInWideAngleCamera' in an @available check to silence this warning
discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 warnings generated.
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:76:33: warning: incompatible pointer types sending 'FlutterEngine ' to parameter of type 'NSObject * _Nonnull' [-Wincompatible-pointer-types]
binaryMessenger:_headlessEngine];
^~~~~~~~~~~~~~~
In module 'Flutter' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.h:1:
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:178:74: note: passing argument to parameter 'messenger' here
binaryMessenger:(NSObject
)messenger;
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:356:16: warning: 'timeControlStatus' is only available on iOS 10.0 or newer [-Wunguarded-availability]
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:194:59: note: 'timeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@Property (nonatomic, readonly) AVPlayerTimeControlStatus timeControlStatus API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:356:16: note: enclose 'timeControlStatus' in an @available check to silence this warning
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:356:37: warning: 'AVPlayerTimeControlStatusPlaying' is only available on iOS 10.0 or newer [-Wunguarded-availability]
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:180:28: note: 'AVPlayerTimeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
typedef NS_ENUM(NSInteger, AVPlayerTimeControlStatus) {
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:356:37: note: enclose 'AVPlayerTimeControlStatusPlaying' in an @available check to silence this warning
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:361:23: warning: 'timeControlStatus' is only available on iOS 10.0 or newer [-Wunguarded-availability]
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:194:59: note: 'timeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@Property (nonatomic, readonly) AVPlayerTimeControlStatus timeControlStatus API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:361:23: note: enclose 'timeControlStatus' in an @available check to silence this warning
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:361:44: warning: 'AVPlayerTimeControlStatusPaused' is only available on iOS 10.0 or newer [-Wunguarded-availability]
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:180:28: note: 'AVPlayerTimeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
typedef NS_ENUM(NSInteger, AVPlayerTimeControlStatus) {
^
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:361:44: note: enclose 'AVPlayerTimeControlStatusPaused' in an @available check to silence this warning
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:361:16: warning: variable '_isPlaying' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:367:137: note: uninitialized use occurs here
[_channel_audioplayer invokeMethod:@"audio.onNotificationPlayerStateChanged" arguments:@{@"playerId": _currentPlayerId, @"value": @(_isPlaying)}];
^~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:361:12: note: remove the 'if' if its condition is always true
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/audioplayers-0.13.3/ios/Classes/AudioplayersPlugin.m:354:20: note: initialize the variable '_isPlaying' to silence this warning
bool _isPlaying;
^
= false
6 warnings generated.
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:98:6: warning: 'NSUUID' is only available on iOS 6.0 or newer [-Wunguarded-availability]
NSUUID *result = [[NSUUID alloc] initWithUUIDString:string];
^~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:14:12: note: 'NSUUID' has been marked as being introduced in iOS 6.0 here, but the deployment target is iOS 5.0.0
@interface NSUUID : NSObject <NSCopying, NSSecureCoding>
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:98:6: note: enclose 'NSUUID' in an @available check to silence this warning
NSUUID *result = [[NSUUID alloc] initWithUUIDString:string];
^~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:98:25: warning: 'NSUUID' is only available on iOS 6.0 or newer [-Wunguarded-availability]
NSUUID *result = [[NSUUID alloc] initWithUUIDString:string];
^~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:14:12: note: 'NSUUID' has been marked as being introduced in iOS 6.0 here, but the deployment target is iOS 5.0.0
@interface NSUUID : NSObject <NSCopying, NSSecureCoding>
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:98:25: note: enclose 'NSUUID' in an @available check to silence this warning
NSUUID *result = [[NSUUID alloc] initWithUUIDString:string];
^~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:115:22: warning: 'NSUUID' is only available on iOS 6.0 or newer [-Wunguarded-availability]
reverseBlock:^id(NSUUID *uuid, BOOL *success, NSError **error) {
^~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:14:12: note: 'NSUUID' has been marked as being introduced in iOS 6.0 here, but the deployment target is iOS 5.0.0
@interface NSUUID : NSObject <NSCopying, NSSecureCoding>
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:115:22: note: enclose 'NSUUID' in an @available check to silence this warning
reverseBlock:^id(NSUUID *uuid, BOOL *success, NSError **error) {
^~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:118:31: warning: 'NSUUID' is only available on iOS 6.0 or newer [-Wunguarded-availability]
if (![uuid isKindOfClass:NSUUID.class]) {
^~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:14:12: note: 'NSUUID' has been marked as being introduced in iOS 6.0 here, but the deployment target is iOS 5.0.0
@interface NSUUID : NSObject <NSCopying, NSSecureCoding>
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:118:31: note: enclose 'NSUUID' in an @available check to silence this warning
if (![uuid isKindOfClass:NSUUID.class]) {
^~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:198:135: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:NSLocalizedString(@"Could not transform value at index %d", @""), index],
~~ ^~~~~
%ld (long)
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:257:136: warning: values of type 'NSInteger' should not be used as format arguments; add an explicit cast to 'long' instead [-Wformat]
NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:NSLocalizedString(@"Could not transform value at index %d", @""), index],
~~ ^~~~~
%ld (long)
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:313:12: warning: 'objectForKeyedSubscript:' is only available on iOS 6.0 or newer [-Wunguarded-availability]
return dictionary[key ?: NSNull.null] ?: defaultValue;
^~~~~~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:46:1: note: 'objectForKeyedSubscript:' has been marked as being introduced in iOS 6.0 here, but the deployment target is iOS 5.0.0
- (nullable ObjectType)objectForKeyedSubscript:(KeyType)key API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSValueTransformer+MTLPredefinedTransformerAdditions.m:313:12: note: enclose 'objectForKeyedSubscript:' in an @available check to silence this warning
return dictionary[key ?: NSNull.null] ?: defaultValue;
^~~~~~~~~~
7 warnings generated.
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSDictionary+MTLJSONKeyPath.m:39:12: warning: 'objectForKeyedSubscript:' is only available on iOS 6.0 or newer [-Wunguarded-availability]
result = result[component];
^~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSDictionary+MTLJSONKeyPath.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:46:1: note: 'objectForKeyedSubscript:' has been marked as being introduced in iOS 6.0 here, but the deployment target is iOS 5.0.0
- (nullable ObjectType)objectForKeyedSubscript:(KeyType)key API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/NSDictionary+MTLJSONKeyPath.m:39:12: note: enclose 'objectForKeyedSubscript:' in an @available check to silence this warning
result = result[component];
^~~~~~
1 warning generated.
error: the following command failed with exit code 0 but produced no further output
CompileC /Users/taozeyu/Library/Developer/Xcode/DerivedData/Runner-hgmjojiaanqywcbuxsrkgffhlwvh/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/Mantle.build/Objects-normal/arm64/MTLModel+NSCoding.o /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/MTLModel+NSCoding.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
14 warnings generated.
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:749:12: warning: 'os_unfair_lock' is only available on iOS 10.0 or newer [-Wunguarded-availability]
static os_unfair_lock lock = OS_UNFAIR_LOCK_INIT;
^~~~~~~~~~~~~~
In module 'Darwin' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:79:3: note: 'os_unfair_lock' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 5.0.0
} os_unfair_lock, *os_unfair_lock_t;
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:749:12: note: enclose 'os_unfair_lock' in an @available check to silence this warning
static os_unfair_lock lock = OS_UNFAIR_LOCK_INIT;
^~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:749:34: warning: 'os_unfair_lock' is only available on iOS 10.0 or newer [-Wunguarded-availability]
static os_unfair_lock lock = OS_UNFAIR_LOCK_INIT;
^~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:83:31: note: expanded from macro 'OS_UNFAIR_LOCK_INIT'
#define OS_UNFAIR_LOCK_INIT ((os_unfair_lock){0})
^~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:79:3: note: 'os_unfair_lock' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 5.0.0
} os_unfair_lock, *os_unfair_lock_t;
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:749:34: note: enclose 'os_unfair_lock' in an @available check to silence this warning
static os_unfair_lock lock = OS_UNFAIR_LOCK_INIT;
^~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:83:31: note: expanded from macro 'OS_UNFAIR_LOCK_INIT'
#define OS_UNFAIR_LOCK_INIT ((os_unfair_lock){0})
^~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:751:5: warning: 'os_unfair_lock_lock' is only available on iOS 10.0 or newer [-Wunguarded-availability]
os_unfair_lock_lock(&lock);
^~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:104:6: note: 'os_unfair_lock_lock' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 5.0.0
void os_unfair_lock_lock(os_unfair_lock_t lock);
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:751:5: note: enclose 'os_unfair_lock_lock' in an @available check to silence this warning
os_unfair_lock_lock(&lock);
^~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:753:5: warning: 'os_unfair_lock_unlock' is only available on iOS 10.0 or newer [-Wunguarded-availability]
os_unfair_lock_unlock(&lock);
^~~~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:142:6: note: 'os_unfair_lock_unlock' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 5.0.0
void os_unfair_lock_unlock(os_unfair_lock_t lock);
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:753:5: note: enclose 'os_unfair_lock_unlock' in an @available check to silence this warning
os_unfair_lock_unlock(&lock);
^~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:807:13: warning: 'os_unfair_lock_trylock' is only available on iOS 10.0 or newer [-Wunguarded-availability]
if (os_unfair_lock_trylock(&lock)) {
^~~~~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:129:6: note: 'os_unfair_lock_trylock' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 5.0.0
bool os_unfair_lock_trylock(os_unfair_lock_t lock);
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:807:13: note: enclose 'os_unfair_lock_trylock' in an @available check to silence this warning
if (os_unfair_lock_trylock(&lock)) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:809:13: warning: 'os_unfair_lock_unlock' is only available on iOS 10.0 or newer [-Wunguarded-availability]
os_unfair_lock_unlock(&lock);
^~~~~~~~~~~~~~~~~~~~~
In module 'Darwin' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/os/lock.h:142:6: note: 'os_unfair_lock_unlock' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 5.0.0
void os_unfair_lock_unlock(os_unfair_lock_t lock);
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/Mantle/Mantle/extobjc/EXTRuntimeExtensions.m:809:13: note: enclose 'os_unfair_lock_unlock' in an @available check to silence this warning
os_unfair_lock_unlock(&lock);
^~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:101:9: warning: 'dispatch_queue_set_specific' is only available on iOS 5.0 or newer [-Wunguarded-availability]
dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey, (__bridge void *)self, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h:9:
In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/dispatch/queue.h:1498:1: note: 'dispatch_queue_set_specific' has been marked as being introduced in iOS 5.0 here, but the deployment target is iOS 4.3.0
dispatch_queue_set_specific(dispatch_queue_t queue, const void *key,
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:101:9: note: enclose 'dispatch_queue_set_specific' in an @available check to silence this warning
dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey, (__bridge void *)self, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:184:54: warning: 'dispatch_get_specific' is only available on iOS 5.0 or newer [-Wunguarded-availability]
FMDatabaseQueue *currentSyncQueue = (__bridge id)dispatch_get_specific(kDispatchQueueSpecificKey);
^~~~~~~~~~~~~~~~~~~~~
In module 'Foundation' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h:9:
In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/dispatch/queue.h:1554:1: note: 'dispatch_get_specific' has been marked as being introduced in iOS 5.0 here, but the deployment target is iOS 4.3.0
dispatch_get_specific(const void *key);
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m:184:54: note: enclose 'dispatch_get_specific' in an @available check to silence this warning
FMDatabaseQueue *currentSyncQueue = (__bridge id)dispatch_get_specific(kDispatchQueueSpecificKey);
^~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1486:15: warning: 'sqlite3_wal_checkpoint_v2' is only available on iOS 5.0 or newer [-Wunguarded-availability]
int err = sqlite3_wal_checkpoint_v2(_db, dbName, checkpointMode, logFrameCount, checkpointCount);
^~~~~~~~~~~~~~~~~~~~~~~~~
In module 'SQLite3' imported from /Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabase.m:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/usr/include/sqlite3.h:8843:16: note: 'sqlite3_wal_checkpoint_v2' has been marked as being introduced in iOS 5.0 here, but the deployment target is iOS 4.3.0
SQLITE_API int sqlite3_wal_checkpoint_v2(
^
/Users/taozeyu/Downloads/wechat_flutter-master/ios/Pods/FMDB/src/fmdb/FMDatabase.m:1486:15: note: enclose 'sqlite3_wal_checkpoint_v2' in an @available check to silence this warning
int err = sqlite3_wal_checkpoint_v2(_db, dbName, checkpointMode, logFrameCount, checkpointCount);
^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
../../Desktop/leraning/flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-4.0.0/lib/src/extended_editable_text.dart:1017:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing implementations for these members:
- TextInputClient.performPrivateCommand
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.

class ExtendedEditableTextState extends State<ExtendedEditableText>
      ^^^^^^^^^^^^^^^^^^^^^^^^^
../../Desktop/leraning/flutter/flutter/packages/flutter/lib/src/services/text_input.dart:813:8: Context: 'TextInputClient.performPrivateCommand' is defined here.
  void performPrivateCommand(String action, Map<String, dynamic> data);
       ^^^^^^^^^^^^^^^^^^^^^

Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FMDB' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'webview_flutter' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'video_player' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'url_launcher' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'shared_preferences' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'permission_handler' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'path_provider' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'package_info' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'open_file' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'libwebp' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'image_picker' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'flutter_sound' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'flutter_image_compress' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'dim' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'connectivity' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'camera' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'audioplayers' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'YYModel' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'SDWebImageWebPCoder' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'SDWebImage' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Runner' from project 'Runner')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Reachability' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 5.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Mantle' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'TXIMSDK_iOS' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Flutter' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'path_provider_windows' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'path_provider_linux' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'path_provider_macos' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'video_player_web' from project 'Pods')

Could not build the precompiled application for the device.

Error launching application on iPhone.

Error when running your project

The plugin dim uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text-7.0.0/lib/src/selection/extended_text_selection.dart:135:7: Error: The non-abstract class 'ExtendedTextSelectionState' is missing implementations for these members:

  • TextSelectionDelegate.copySelection
  • TextSelectionDelegate.cutSelection
  • TextSelectionDelegate.pasteText
  • TextSelectionDelegate.selectAll
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class ExtendedTextSelectionState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
void copySelection(SelectionChangedCause cause);
^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
void cutSelection(SelectionChangedCause cause);
^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
Future pasteText(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
void selectAll(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:1175:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing implementations for these members:

  • AutofillClient.autofill
  • TextSelectionDelegate.copySelection
  • TextSelectionDelegate.cutSelection
  • TextSelectionDelegate.pasteText
  • TextSelectionDelegate.selectAll
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class ExtendedEditableTextState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/autofill.dart:765:8: Context: 'AutofillClient.autofill' is defined here.
void autofill(TextEditingValue newEditingValue);
^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
void copySelection(SelectionChangedCause cause);
^^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
void cutSelection(SelectionChangedCause cause);
^^^^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
Future pasteText(SelectionChangedCause cause);
^^^^^^^^^
../Developer/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
void selectAll(SelectionChangedCause cause);
^^^^^^^^^
lib/pages/login/register_page.dart:32:34: Error: Member not found: 'ImagePicker.pickImage'.
File img = await ImagePicker.pickImage(source: ImageSource.gallery);
^^^^^^^^^
lib/pages/login/login_page.dart:116:19: Error: The method 'WhitelistingTextInputFormatter' isn't defined for the class '_LoginPageState'.

  • '_LoginPageState' is from 'package:wechat_flutter/pages/login/login_page.dart' ('lib/pages/login/login_page.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'WhitelistingTextInputFormatter'.
    WhitelistingTextInputFormatter(new RegExp('[0-9]'))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    lib/pages/root/root_tabbar.dart:44:11: Error: No named parameter with the name 'title'.
    title: new Text(model.title, style: new TextStyle(fontSize: 12.0)),
    ^^^^^
    ../Developer/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
    const BottomNavigationBarItem({
    ^^^^^^^^^^^^^^^^^^^^^^^
    lib/ui/view/pop_view.dart:40:39: Error: The getter 'subhead' isn't defined for the class 'TextTheme'.
  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../Developer/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'subhead'.
    TextStyle style = theme.textTheme.subhead;
    ^^^^^^^
    lib/pages/mine/personal_info_page.dart:37:40: Error: Member not found: 'ImagePicker.pickImage'.
    File imageFile = await ImagePicker.pickImage(source: type);
    ^^^^^^^^^
    lib/im/message_handle.dart:24:31: Error: Member not found: 'ImagePicker.pickImage'.
    image = await ImagePicker.pickImage(source: source);
    ^^^^^^^^^
    lib/pages/chat/chat_more_page.dart:53:23: Error: The method 'DefaultAssetsPickerTextDelegate' isn't defined for the class '_ChatMorePageState'.
  • '_ChatMorePageState' is from 'package:wechat_flutter/pages/chat/chat_more_page.dart' ('lib/pages/chat/chat_more_page.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'DefaultAssetsPickerTextDelegate'.
    textDelegate: DefaultAssetsPickerTextDelegate(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    lib/pages/group/select_members_page.dart:175:9: Error: No named parameter with the name 'isUseRealIndex'.
    isUseRealIndex: true,
    ^^^^^^^^^^^^^^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/azlistview-1.1.1/lib/src/az_listview.dart:10:3: Context: Found this candidate, but the arguments don't match.
    AzListView({
    ^^^^^^^^^^
    lib/pages/settings/chat_background_page.dart:51:35: Error: Member not found: 'ImagePicker.pickImage'.
    File data = await ImagePicker.pickImage(source: source);
    ^^^^^^^^^
    lib/ui/item/chat_voice.dart:43:18: Error: The method 'setSubscriptionDuration' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setSubscriptionDuration'.
    flutterSound.setSubscriptionDuration(0.01);
    ^^^^^^^^^^^^^^^^^^^^^^^
    lib/ui/item/chat_voice.dart:44:18: Error: The method 'setDbPeakLevelUpdate' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setDbPeakLevelUpdate'.
    flutterSound.setDbPeakLevelUpdate(0.8);
    ^^^^^^^^^^^^^^^^^^^^
    lib/ui/item/chat_voice.dart:45:18: Error: The method 'setDbLevelEnabled' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setDbLevelEnabled'.
    flutterSound.setDbLevelEnabled(true);
    ^^^^^^^^^^^^^^^^^
    lib/ui/item/chat_voice.dart:58:7: Error: 'RecorderRunningException' isn't a type.
    RecorderRunningException e = err;
    ^^^^^^^^^^^^^^^^^^^^^^^^
    lib/ui/item/chat_voice.dart:53:12: Error: The method 'startRecorder' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'startRecorder'.
    .startRecorder(Platform.isIOS ? 'ios.m4a' : 'android.mp4');
    ^^^^^^^^^^^^^
    lib/ui/item/chat_voice.dart:56:24: Error: The getter 'onRecorderStateChanged' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'onRecorderStateChanged'.
    flutterSound.onRecorderStateChanged.listen((e) {});
    ^^^^^^^^^^^^^^^^^^^^^^
    lib/ui/item/chat_voice.dart:77:7: Error: 'RecorderStoppedException' isn't a type.
    RecorderStoppedException e = err;
    ^^^^^^^^^^^^^^^^^^^^^^^^
    lib/ui/item/chat_voice.dart:65:42: Error: The method 'stopRecorder' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'stopRecorder'.
    String result = await flutterSound.stopRecorder();
    ^^^^^^^^^^^^
    lib/ui/message_view/sound_msg.dart:43:18: Error: The method 'setSubscriptionDuration' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setSubscriptionDuration'.
    flutterSound.setSubscriptionDuration(0.01);
    ^^^^^^^^^^^^^^^^^^^^^^^
    lib/ui/message_view/sound_msg.dart:44:18: Error: The method 'setDbPeakLevelUpdate' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setDbPeakLevelUpdate'.
    flutterSound.setDbPeakLevelUpdate(0.8);
    ^^^^^^^^^^^^^^^^^^^^
    lib/ui/message_view/sound_msg.dart:45:18: Error: The method 'setDbLevelEnabled' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setDbLevelEnabled'.
    flutterSound.setDbLevelEnabled(true);
    ^^^^^^^^^^^^^^^^^
    lib/ui/message_view/sound_msg.dart:86:26: Error: The method 'startPlayer' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'startPlayer'.
    await flutterSound.startPlayer(path);
    ^^^^^^^^^^^
    lib/ui/message_view/sound_msg.dart:87:26: Error: The method 'setVolume' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'setVolume'.
    await flutterSound.setVolume(1.0);
    ^^^^^^^^^
    lib/ui/message_view/sound_msg.dart:90:42: Error: The getter 'onPlayerStateChanged' isn't defined for the class 'FlutterSound'.
  • 'FlutterSound' is from 'package:flutter_sound/public/tau.dart' ('../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-8.4.1+1/lib/public/tau.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'onPlayerStateChanged'.
    _playerSubscription = flutterSound.onPlayerStateChanged.listen((e) {
    ^^^^^^^^^^^^^^^^^^^^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:2366:11: Error: The argument type 'AutofillConfiguration?' can't be assigned to the parameter type 'AutofillConfiguration' because 'AutofillConfiguration?' is nullable and 'AutofillConfiguration' isn't.
  • 'AutofillConfiguration' is from 'package:flutter/src/services/autofill.dart' ('../Developer/flutter/packages/flutter/lib/src/services/autofill.dart').
    ? null
    ^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/scale.dart:32:11: Error: No named parameter with the name 'delta'.
    delta: delta,
    ^^^^^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/scale.dart:339:43: Error: Too few positional arguments: 2 required, 1 given.
    focalPointDelta > computePanSlop(pointerDeviceKind))
    ^
    ../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2116:8: Context: Found this candidate, but the arguments don't match.
    double computePanSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
    ^^^^^^^^^^^^^^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:46:66: Error: Too few positional arguments: 2 required, 1 given.
    final double minDistance = minFlingDistance ?? computeHitSlop(kind);
    ^
    ../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
    double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
    ^^^^^^^^^^^^^^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:54:55: Error: Too few positional arguments: 2 required, 1 given.
    return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
    ^
    ../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
    double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
    ^^^^^^^^^^^^^^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:101:66: Error: Too few positional arguments: 2 required, 1 given.
    final double minDistance = minFlingDistance ?? computeHitSlop(kind);
    ^
    ../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
    double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
    ^^^^^^^^^^^^^^
    ../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.2/lib/src/gesture_detector/drag.dart:109:55: Error: Too few positional arguments: 2 required, 1 given.
    return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
    ^
    ../Developer/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
    double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
    ^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/mac/Developer/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/mac/Developer/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 27s
Exception: Gradle task assembleDebug failed with exit code 1

Error when running project

Error Msg:

The plugin `dim` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Flutter Version Info:

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.5.3 at /usr/local/Caskroom/flutter/2.2.3/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (6 天前), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mider/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.61.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is localhost,127.0.0.1,*.local.test
    • NO_PROXY contains 127.0.0.1
    • NO_PROXY contains localhost

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6 20G165 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 95.0.4638.54

我把flutter版本切换到作者的2.5.2环境,运行后提示一些依赖无法正常安装,请问该如何修复?

下面是出错提示:

Running "flutter pub get" in wechat_flutter... 11.7s
The plugins dim, flutter_image_compress, flutter_sound, image_picker, open_file, package_info, permission_handler use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

iOS 模拟器运行的时候报错

Hi, 我尝试用iOS的模拟器运行项目,但是run起来之后一直卡在launch界面,看起来有这样4个错误。想请问一下具体原因。

  • Failed to find assets path for "Frameworks/App.framework/flutter_assets"
  • Failed to find assets path for "Frameworks/App.framework/flutter_assets"
  • [VERBOSE-2:engine.cc(127)] Engine run configuration was invalid.
  • [VERBOSE-2:shell.cc(437)] Could not launch engine with configuration.

image

我当前的环境是这样的:
[✓] Flutter (Channel master, v1.12.13, on Mac OS X 10.15.3 19D76, locale
zh-Hans-CN)
• Flutter version 1.12.13
• Framework revision cf37c2cd07 (7 months ago), 2019-11-25 12:04:30 -0800
• Engine revision b6b54fd606
• Dart version 2.7.0

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C505
• CocoaPods version 1.8.4

项目跑步起来

type 'AVAudioSession.Category' (aka 'NSString') has no member 'playback'
return AVAudioSession.Category.playback

Flutter 2.5.2 Xcode 13.3.1 ,app无法运行

Could not build the application for the simulator.
Error launching application on iPhone 13.

The iOS Simulator deployment target ‘IPHONEOS_DEPLOYMENT_TARGET‘ is set to 8.0, but the range...9.0--

在运行项目时出现的错误

Compiler message:
/F:/Flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:55:8: Error: The method 'DioHttpHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'.
void add(String name, value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:694:8: Context: This is the overridden method ('add').
void add(String name, Object value,
^
/F:/Flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:70:8: Error: The method 'DioHttpHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'.
void set(String name, Object value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:703:8: Context: This is the overridden method ('set').
void set(String name, Object value,
^

Compiler message:
/F:/Flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:55:8: Error: The method 'DioHttpHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'.
void add(String name, value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:694:8: Context: This is the overridden method ('add').
void add(String name, Object value,
^
/F:/Flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:70:8: Error: The method 'DioHttpHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'.
void set(String name, Object value) {
^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:703:8: Context: This is the overridden method ('set').
void set(String name, Object value,
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script 'F:\Flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 886

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'F:\Flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 22s
Exception: Gradle task assembleDebug failed with exit code 1

Flutter 2.6 error

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_text-7.0.0/lib/src/selection/extended_text_selection.dart:135:7: Error: The non-abstract class 'ExtendedTextSelectionState' is missing implementations for these members:
 - TextSelectionDelegate.copySelection
 - TextSelectionDelegate.cutSelection
 - TextSelectionDelegate.pasteText
 - TextSelectionDelegate.selectAll
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ExtendedTextSelectionState extends State<ExtendedTextSelection>
      ^^^^^^^^^^^^^^^^^^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
  void copySelection(SelectionChangedCause cause);
       ^^^^^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
  void cutSelection(SelectionChangedCause cause);
       ^^^^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
  Future<void> pasteText(SelectionChangedCause cause);
               ^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
  void selectAll(SelectionChangedCause cause);
       ^^^^^^^^^
/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:1175:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing implementations for these members:
 - AutofillClient.autofill
 - TextSelectionDelegate.copySelection
 - TextSelectionDelegate.cutSelection
 - TextSelectionDelegate.pasteText
 - TextSelectionDelegate.selectAll
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ExtendedEditableTextState extends State<ExtendedEditableText>
      ^^^^^^^^^^^^^^^^^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/autofill.dart:765:8: Context: 'AutofillClient.autofill' is defined here.
  void autofill(TextEditingValue newEditingValue);
       ^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:985:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
  void copySelection(SelectionChangedCause cause);
       ^^^^^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:965:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
  void cutSelection(SelectionChangedCause cause);
       ^^^^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:973:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
  Future<void> pasteText(SelectionChangedCause cause);
               ^^^^^^^^^
/D:/flutter/packages/flutter/lib/src/services/text_input.dart:979:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
  void selectAll(SelectionChangedCause cause);
       ^^^^^^^^^
/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.2+2/lib/shared_preferences.dart:164:15: Error: The method 'setMockMethodCallHandler' isn't defined for the class 'MethodChannel'.
 - 'MethodChannel' is from 'package:flutter/src/services/platform_channel.dart' ('/D:/flutter/packages/flutter/lib/src/services/platform_channel.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setMockMethodCallHandler'.
    _kChannel.setMockMethodCallHandler((MethodCall methodCall) async {
              ^^^^^^^^^^^^^^^^^^^^^^^^
lib/pages/login/login_page.dart:116:19: Error: The method 'WhitelistingTextInputFormatter' isn't defined for the class '_LoginPageState'.
 - '_LoginPageState' is from 'package:wechat_flutter/pages/login/login_page.dart' ('lib/pages/login/login_page.dart').
Try correcting the name to the name of an existing method, or defining a method named 'WhitelistingTextInputFormatter'.
                  WhitelistingTextInputFormatter(new RegExp('[0-9]'))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/view/pop_view.dart:40:39: Error: The getter 'subhead' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/D:/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subhead'.
    TextStyle style = theme.textTheme.subhead;
                                      ^^^^^^^
/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-8.0.0/lib/src/extended_editable_text.dart:2366:11: Error: The argument type 'AutofillConfiguration?' can't be assigned to the parameter type 'AutofillConfiguration' because 'AutofillConfiguration?' is nullable and 'AutofillConfiguration' isn't.
 - 'AutofillConfiguration' is from 'package:flutter/src/services/autofill.dart' ('/D:/flutter/packages/flutter/lib/src/services/autofill.dart').
          ? null
          ^

run 不起来

Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Project base configurations detected, removing.
Running pod install...
CocoaPods' output:

Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Finding Podfile changes
  A path_provider_windows
  A photo_manager
  A video_player_web
  - Flutter
  - audioplayers
  - camera
  - connectivity
  - dim
  - flutter_image_compress
  - flutter_sound
  - image_picker
  - open_file
  - package_info
  - path_provider
  - path_provider_linux
  - path_provider_macos
  - permission_handler
  - shared_preferences
  - sqflite
  - url_launcher
  - video_player
  - webview_flutter

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `audioplayers` from `.symlinks/plugins/audioplayers/ios`
-> Fetching podspec for `camera` from `.symlinks/plugins/camera/ios`
-> Fetching podspec for `connectivity` from `.symlinks/plugins/connectivity/ios`
-> Fetching podspec for `dim` from `.symlinks/plugins/dim/ios`
-> Fetching podspec for `flutter_image_compress` from `.symlinks/plugins/flutter_image_compress/ios`
-> Fetching podspec for `flutter_sound` from `.symlinks/plugins/flutter_sound/ios`
-> Fetching podspec for `image_picker` from `.symlinks/plugins/image_picker/ios`
-> Fetching podspec for `open_file` from `.symlinks/plugins/open_file/ios`
-> Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`
-> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `path_provider_linux` from `.symlinks/plugins/path_provider_linux/ios`
-> Fetching podspec for `path_provider_macos` from `.symlinks/plugins/path_provider_macos/ios`
-> Fetching podspec for `path_provider_windows` from `.symlinks/plugins/path_provider_windows/ios`
-> Fetching podspec for `permission_handler` from `.symlinks/plugins/permission_handler/ios`
-> Fetching podspec for `photo_manager` from `.symlinks/plugins/photo_manager/ios`
-> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `video_player` from `.symlinks/plugins/video_player/ios`
-> Fetching podspec for `video_player_web` from `.symlinks/plugins/video_player_web/ios`
-> Fetching podspec for `webview_flutter` from `.symlinks/plugins/webview_flutter/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path downloaded: all_pods_versions_2_7_4.txt, save ETag: W/"5f85230c-412"
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.0/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.0/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.1/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.1/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.11/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.11/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.2/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.2/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.3/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.3/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.4/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.4/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.5/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.5/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.6/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.6/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.8/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.8/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.9/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.9/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.12/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.12/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.7/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.7/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/1.0.1/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/1.0.1/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/1.0.3/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/1.0.3/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/1.0.4/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/1.0.4/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/0.9.10/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/0.9.10/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/1.0/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/1.0/YYModel.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/2/7/4/YYModel/1.0.2/YYModel.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/2/7/4/YYModel/1.0.2/YYModel.podspec.json
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.6/YYModel.podspec.json, save ETag: W/"263-IwM9Rx90cdfimHWpYN9CsEQp7Og"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.12/YYModel.podspec.json, save ETag: W/"2aa-M6J/QamV9MNv+BeEIbrJ8iGpx+o"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.8/YYModel.podspec.json, save ETag: W/"263-Taa1xCqFDlyByADeW6aa/mdcbm8"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.10/YYModel.podspec.json, save ETag: W/"2aa-/qUDc71TzQTJqQ5YDArFYcXRAJ4"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.5/YYModel.podspec.json, save ETag: W/"263-3SvckJf4qQxTUSqH1V0oNAreE3E"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.7/YYModel.podspec.json, save ETag: W/"263-iPS97CWXWo9kLaoLtXKwOaOrHbE"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/1.0.4/YYModel.podspec.json, save ETag: W/"2a8-Kn/dlqqkuGqCTibQxRfeiSjASzA"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.0/YYModel.podspec.json, save ETag: W/"263-5nJQQq8OvWeAT3oiRtsfJkszP8E"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.4/YYModel.podspec.json, save ETag: W/"263-WkeNw70T0r6VICZgW3fB7ayGASg"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.9/YYModel.podspec.json, save ETag: W/"2a8-bi9mq9xCmz9UL8UlsmL0G2L8KuI"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/1.0.1/YYModel.podspec.json, save ETag: W/"2a8-eU8IIKmpcDYVvBZqqOM2q69CLCs"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.1/YYModel.podspec.json, save ETag: W/"263-ZZA1oZt4Od2/p2G06achxonBHik"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.2/YYModel.podspec.json, save ETag: W/"263-jjO3jtrEA8wTLQF88CLQPzgiFHA"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.3/YYModel.podspec.json, save ETag: W/"263-LWx9OpUv6zjbdJHA72LE282F8Ck"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/1.0.3/YYModel.podspec.json, save ETag: W/"2a8-YxQsLwfFyMnRwmFonPOCfqarKIY"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/1.0/YYModel.podspec.json, save ETag: W/"2a4-JwSKJisVDDDiU/cXdkCOIdbv6Mw"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/1.0.2/YYModel.podspec.json, save ETag: W/"2a8-ekZ+/0WuNkHDPvsTbCYtM7b0jBo"
  CDN: trunk Relative path downloaded: Specs/2/7/4/YYModel/0.9.11/YYModel.podspec.json, save ETag: W/"2aa-gtnj+s2EuAmo1eeuoXDHIpyiQ0s"
  CDN: trunk Relative path: Specs/2/7/4/YYModel/1.0.4/YYModel.podspec.json modified during this run! Returning local
  CDN: trunk Relative path downloaded: all_pods_versions_6_1_0.txt, save ETag: W/"5f8520b4-469"
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.4.479/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.4.479/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.4.627/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.4.627/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.4.716/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.4.716/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.4.900/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.4.900/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.5.111/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.5.111/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.5.15/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.5.15/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.5.55/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.5.55/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.1/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.1/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.100/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.100/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.101/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.101/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.102/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.102/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.17/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.17/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.21/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.21/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.5/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.5/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.51/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.51/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.54/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.54/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.58/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.58/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.6.8/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.6.8/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.7.1/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.7.1/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.7.10/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.7.10/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.7.2/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.7.2/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.8.1/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.8.1/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.8.10/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.8.10/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.8.50/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.8.50/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.9.1/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.9.1/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/4.5.45/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/4.5.45/TXIMSDK_iOS.podspec.json
  CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/6/1/0/TXIMSDK_iOS/5.0.6/TXIMSDK_iOS.podspec.json to https://cdn.jsdelivr.net/cocoa/Specs/6/1/0/TXIMSDK_iOS/5.0.6/TXIMSDK_iOS.podspec.json
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.4.716/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-k5HuK/L1E8HjjW+zA7VZjYUZUro"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.5.55/TXIMSDK_iOS.podspec.json, save ETag: W/"369-rdZyAcZNCoZo5L+rTSH4PoB10Ao"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.5.15/TXIMSDK_iOS.podspec.json, save ETag: W/"369-fPRn3HyQ8pS4lOintwBLznrP0zI"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.5.45/TXIMSDK_iOS.podspec.json, save ETag: W/"369-ZREEjWRx9fSM8H68BdCxigKS60E"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.58/TXIMSDK_iOS.podspec.json, save ETag: W/"369-1CMczYoEX1TKBNAI26Rv2/JWh/s"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.5.111/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-XJUkKNWkTzw19PpdN89KrsjxkOY"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.1/TXIMSDK_iOS.podspec.json, save ETag: W/"367-/oXHaYluv/zKGR37JNk2GN1zbWI"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.7.1/TXIMSDK_iOS.podspec.json, save ETag: W/"367-JQayfP3yrqPkQztnhwdV06FLNYw"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.4.627/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-Y3r4M4KHCn2lDNBe6/mn4oBECIU"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.54/TXIMSDK_iOS.podspec.json, save ETag: W/"369-x1F1uEPCrf6xN91UqS13Idj+U9s"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.8/TXIMSDK_iOS.podspec.json, save ETag: W/"367-T5kXaNbuByLoa7EonzKbK22tcP8"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.7.2/TXIMSDK_iOS.podspec.json, save ETag: W/"367-DTwpKSDJa6CLb6jv3mXHSI60Nqc"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.17/TXIMSDK_iOS.podspec.json, save ETag: W/"369-6Y+ewmItqTvD6lQGpaKClpLJS2o"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.4.479/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-mvhKexMule5TICNeEACU0Qcu76E"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.21/TXIMSDK_iOS.podspec.json, save ETag: W/"369-GyID3Pgm3p6Tdd78sqR4NqczVj8"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.101/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-8IBHLUwQyysLxY+G80Dx6KSdNK0"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.8.1/TXIMSDK_iOS.podspec.json, save ETag: W/"367-rzBAtxj0tzxELeNWAswZDwSM/Lw"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.5/TXIMSDK_iOS.podspec.json, save ETag: W/"367-46j/+ZzY8HglftODsXaqQVJRcSc"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.8.50/TXIMSDK_iOS.podspec.json, save ETag: W/"369-rib3jgKOAb7tRxJ+pr3gPBEVYgg"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.100/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-NITPWROfi5QgKkav9kf6H2yE/ZA"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.7.10/TXIMSDK_iOS.podspec.json, save ETag: W/"369-aU10vnJ06dlLZNl9/R3U870p8VA"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.4.900/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-VMBMCAfM8MQGNm74bP9mPqJ34jU"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.51/TXIMSDK_iOS.podspec.json, save ETag: W/"369-PnG83HqClDfXt9EdiEKT4Vvovt8"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.8.10/TXIMSDK_iOS.podspec.json, save ETag: W/"369-F94v73hveIQ2h8x72VknWe3S7As"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.9.1/TXIMSDK_iOS.podspec.json, save ETag: W/"367-WH4l+otCyfIou5BlCEJw+mmQGQ8"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/4.6.102/TXIMSDK_iOS.podspec.json, save ETag: W/"36b-4vaRMIufJ/UbqT1Tr3ElTP4b+lw"
  CDN: trunk Relative path downloaded: Specs/6/1/0/TXIMSDK_iOS/5.0.6/TXIMSDK_iOS.podspec.json, save ETag: W/"410-zGX5f7RUgRdX8NcdVKFXJrmVwNc"
  CDN: trunk Relative path: Specs/6/1/0/TXIMSDK_iOS/5.0.6/TXIMSDK_iOS.podspec.json modified during this run! Returning local
  CDN: trunk Relative path: all_pods_versions_c_7_9.txt exists! Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/c/7/9/Reachability/3.2/Reachability.podspec.json exists! Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_5_d_c.txt exists! Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/5/d/c/Mantle/2.1.1/Mantle.podspec.json exists! Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_e_9_d.txt exists! Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/e/9/d/SDWebImageWebPCoder/0.6.1/SDWebImageWebPCoder.podspec.json exists! Returning local because checking is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "photo_manager":
  In Podfile:
    photo_manager (from `.symlinks/plugins/photo_manager/ios`)

Specs satisfying the `photo_manager (from `.symlinks/plugins/photo_manager/ios`)` dependency were found, but they required a higher minimum deployment target.

/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/resolver.rb:94:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/analyzer.rb:1065:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/analyzer.rb:1063:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:410:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:235:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:234:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:156:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:

[!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install
Error launching application on iPhone 11 Pro Max.

运行不起来 各位大佬帮忙看下谢谢

C:\Users\Administrator>java -version java version "15" 2020-09-15 Java(TM) SE Runtime Environment (build 15+36-1562) Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision f4abaa0735 (3 months ago) • 2021-07-01 12:46:11 -0700 Engine • revision 241c87ad80 Tools • Dart 2.13.4
`1: Task failed with an exception.

  • Where:
    Build file 'C:\Users\Administrator\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\photo_manager-1.3.2\android\build.gradle' line: 24

  • What went wrong:
    A problem occurred evaluating project ':photo_manager'.

Failed to apply plugin [id 'kotlin-android']
The current Gradle version 5.6.2 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.1.1 or newer, or the previous version of the Kotlin plugin.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    ==============================================================================

2: Task failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':photo_manager'.

compileSdkVersion is not specified.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    ==============================================================================

  • Get more help at https://help.gradle.org

BUILD FAILED in 13s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 18.9s
Exception: Gradle task assembleDebug failed with exit code 1`

代码没报错,但是flutter run 报错

../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-4.0.0/lib/src/extended_editable_text.dart:1017:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing implementations for these members:

  • TextInputClient.performPrivateCommand
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class ExtendedEditableTextState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^
../../Downloads/flutter/packages/flutter/lib/src/services/text_input.dart:813:8: Context: 'TextInputClient.performPrivateCommand' is defined here.
void performPrivateCommand(String action, Map<String, dynamic> data);
^^^^^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text-4.0.0/lib/src/extended_render_paragraph.dart:21:7: Error: The non-abstract class 'ExtendedRenderParagraph' is missing implementations for these members:

  • ExtendedTextSelectionRenderObject.caretPrototype
  • ExtendedTextSelectionRenderObject.textSelectionDelegate
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class ExtendedRenderParagraph extends ExtendedTextSelectionRenderObject {
^^^^^^^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_library-4.0.3/lib/src/render_object/extended_text_selection_render_object.dart:376:12: Context: 'ExtendedTextSelectionRenderObject.caretPrototype' is defined here.
Rect get caretPrototype;
^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_library-4.0.3/lib/src/render_object/extended_text_selection_render_object.dart:383:29: Context: 'ExtendedTextSelectionRenderObject.textSelectionDelegate' is defined here.
TextSelectionDelegate get textSelectionDelegate;
^^^^^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-4.0.0/lib/src/extended_render_editable.dart:99:7: Error: The non-abstract class 'ExtendedRenderEditable' is missing implementations for these members:

  • ExtendedTextSelectionRenderObject.caretPrototype
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class ExtendedRenderEditable extends ExtendedTextSelectionRenderObject {
^^^^^^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_library-4.0.3/lib/src/render_object/extended_text_selection_render_object.dart:376:12: Context: 'ExtendedTextSelectionRenderObject.caretPrototype' is defined here.
Rect get caretPrototype;
^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text-4.0.0/lib/src/extended_render_paragraph.dart:1026:9: Error: No named parameter with the name 'handleSpecialText'.
handleSpecialText: handleSpecialText,
^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text-4.0.0/lib/src/extended_render_paragraph.dart:1241:7: Error: No named parameter with the name 'handleSpecialText'.
handleSpecialText: handleSpecialText,
^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text-4.0.0/lib/src/extended_render_paragraph.dart:1258:7: Error: No named parameter with the name 'handleSpecialText'.
handleSpecialText: handleSpecialText,
^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-4.0.0/lib/src/extended_render_editable.dart:377:7: Error: No named parameter with the name 'handleSpecialText'.
handleSpecialText: handleSpecialText,
^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-4.0.0/lib/src/extended_render_editable.dart:396:7: Error: No named parameter with the name 'handleSpecialText'.
handleSpecialText: handleSpecialText,
^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-4.0.0/lib/src/extended_render_editable.dart:1619:9: Error: No named parameter with the name 'handleSpecialText'.
handleSpecialText: handleSpecialText,
^^^^^^^^^^^^^^^^^
../../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/extended_text_field-4.0.0/lib/src/extended_render_editable.dart:1925:7: Error: No named parameter with the name 'handleSpecialText'.
handleSpecialText: handleSpecialText,
^^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

Backend

Tell me what Backend are you using for testing? Can you have firebase components? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.