wechat_flutter Flutter版本微信,一个优秀的Flutter即时通讯IM开源库!

Overview

GitHub stars GitHub forks GitHub issues

如果产生其他依赖无法编译的问题,可以尝试将pubspec.yaml中的dependencies中的所有依赖的"^"去掉或者插件版本号改为any,重新编译尝试。 还是出错的话在项目主目录执行flutter clean再重新运行。 如果出现插件版本不适配记得看pubspec.yaml文件介绍的插件flutter版本是否与自己本地Flutter适配。

log

  • 2021.11.08 适配flutter 2.5

  • 2021.05.12 适配iOS,解决运行问题

  • 2021.05.10 适配 Flutter2 稳定分支 【11:45】

  • 2021.05.10 修复im插件例子不能获取依赖、修复lib/ui/flutter/my_cupertino_dialog.dart【】

  • 2021.01.16 新增支付页面,等待图标补全 【14:49】

  • 2021.01.16 适配Flutter (Channel stable, 1.22.5)

  • 2020.08.25 适配Flutter (Channel stable, 1.20.2)

  • 2020.07.29 上传头像捕获错误【15:45】

  • 2020.07.29 修复登录、退出登录、修改信息报状态管理监听错误;

  • 2020.06.30 群成员大于20才显示查看全部群成员、群主则显示群管理item【下午】

  • 2020.06.30 会话列表无会话消息判断显示、修复会话报错、群公告完整显示【上午】

  • 2020.06.26 退出群聊和解散群聊功能、聊天成员页面、选择成员页面【下午】

  • 2020.06.26 修改群聊名称页面、更换聊天背景页面、修复webView【上午】

  • 2020.06.24 群公告、更改群公告消息体内容显示、新增群备注、新增群二维码页;

  • 2020.06.23 群聊详情页面制作;

  • 2020.06.21 会话列表聊天内容显示表情【10点】

  • 2020.06.20 修复录制视频完成停止录制的时候报错【17点48分】

  • 2020.06.20 去掉初始化拍一拍效果【17点】

  • 2020.06.20 修复会话列表时而为空【12点】

  • 2020.06.20 修复群聊消息不出现在会话列表【09点】

  • 2020.06.18 新增微信拍一拍效果;

  • 2020.06.17 新增发起群聊和群聊列表展示;

  • 2020.06.16 新增表情聊天功能;

  • 2020.06.15 修复打包闪退问题;

  • 2020.02.14 适配 Flutter v1.17.3;

  • 2020.02.16 适配flutter v1.12.13和Androidx,修复Android运行问题;

  • 2019.12.30 取消extended_text_field;

介绍

wechat_flutter是flutter版微信,目前已实现即时通讯基本功能,支持安卓和IOS,具体下载体验。 start.gif

效果图

1.gif 2.gif 3.gif
4.gif 5.gif 6.gif
7.gif 8.gif 9.gif
下载体验(Android):点击下载

IOS的直接拉下项目直接跑即可,

特性

  • 文字消息
  • 表情消息
  • 图片消息
  • 语音消息
  • 删除会话
  • 语言国际化
  • 账号注册
  • 账号登陆
  • 自动登陆
  • 会话列表
  • 通讯录
  • 更改头像
  • 显示头像
  • 显示昵称
  • 更改昵称
  • 搜索好友
  • 添加好友
  • 删除好友
  • 视频拍摄
  • 视频消息
  • 位置消息
  • 创建群聊
  • 退出群聊
  • 解散群聊
  • 群聊列表
  • 群聊公告
  • 修改群名
  • 群聊消息(文字)
  • 扫一扫
  • 设置备注

第三方框架

功能
dim 即时通讯
shared_preferences 持久化存储
provider 状态管理
cached_network_image 图片缓存
toast 消息提示
webview_flutter web页面显示
image_picker 图片和视频选择
extended_text 扩展文本
url_launcher 打开浏览器浏览
connectivity 检查网络连接
photo_view 图片放大显示
dio 网络框架
open_file 打开文件
package_info 包信息
flutter_sound 音频录制处理
permission_handler 权限管理
audioplayers 音频播放处理
camera 相机
video_player 视频播放
extended_text_field 扩展文本输入
flutter_image_compress 图片压缩
lpinyin 获取中文的拼音
azlistview 特殊列表滑动
wechat_assets_picker 微信图库

使用教程

IOS

  • 进入项目IOS目录:$ cd ios/
  • 更新Pod(非必须):$ pod update
  • 安装Pod:$ pod install

如果出现(Connection refused - connect(2) for "raw.githubusercontent.com" port 443),则表示还没设置国内源, 或者尝试下翻墙。

我的Flutter环境

 q1@q1deMacBook-Pro  ~/Documents/git/wechat_flutter   master  flutter doctor -v
[✓] Flutter (Channel stable, 2.5.2, on macOS 11.2.3 20D91 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.5.2 at /Users/q1/flutterNewVersion/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3595343e20 (6 weeks ago), 2021-09-30 12:58:18 -0700
    • Engine revision 6ac856380f
    • Dart version 2.14.3
    • 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-rc1)
    • Android SDK at /Users/q1/android-sdk-macosx
    • Platform android-31, build-tools 31.0.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.11.0.beta.2

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (4 available)
    • SEA AL10 (mobile) • 6HJ4C20219007098          • android-arm64  • Android 10 (API 29)
    • iPhone (mobile)   • 00008020-0016343E2692002E • ios            • iOS 14.7.1 18G82
    • macOS (desktop)   • macos                     • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)      • chrome                    • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

运行安卓androidx.core:core问题

错误信息:
Android dependency 'androidx.core:core' has different version for 
the compile (1.0.0) and runtime (1.0.2) classpath. You should 
manually set the same version via DependencyResolution
解决方案

项目最下方的External Libraries => Flutter Plugins => image_picker-0.6.1+2 => android => build.gradle 然后最下方有androidx.core:core:版本

直接改为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'
    }
}

然后permission_handler也一样改下。

关于项目太久没更

最近工作太繁忙,基本没啥时间更新,然后之前是做其他开源项目,导致这个项目太久没实质性进展, 不好意思哈各位,从现在开始进入维护状态。

Future

Flutter微信群

上图无法显示点我

Flutter教程网:www.flutterj.com

Flutter交流QQ群:874592746

公众号

关注公众号“Flutter前线”,各种Flutter项目实战经验技巧,干活知识,Flutter面试题答案,等你来领取。

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.
Comments
  • Flutter 2.5.2 Xcode 13.3.1 ,app无法运行

    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--

    opened by GarthGit 2
  • 代码没报错,但是flutter run 报错

    代码没报错,但是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.

    opened by diaowenyang 2
  • run 报错 “'ExtendedEditableTextState' is missing”

    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 https://github.com/flutter/flutter/issues/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.

    opened by taozeyuMention 1
  • 运行不起来 各位大佬帮忙看下谢谢

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

    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`

    opened by yya5119 0
  • iOS 模拟器运行的时候报错

    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

    opened by HDB-Li 0
  • wechat_flutter-master/ios/Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK' for architecture arm64

    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.

    求解决

    opened by helloMrTom 1
  • 一直卡在Running Gradle task 'assembleDebug'...

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

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

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

    我把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.

    opened by chinecc 2
  • The plugin `dim` uses a deprecated version of the Android embedding.

    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.

    这个错一直过不了

    opened by eagle518 1
Owner
FlutterCandies
Custom Flutter candies (packages) for you to build your Flutter app easily. Enjoy it!
FlutterCandies