• flutter duplicate symbol '_GetDirectoryOfType' in:


    ld: warning: directory not found for option '-F/Users//codingProject/vipidea-app/ios/Runner/SuperPlayer/Frameworks'
    
    ld: warning: directory not found for option '-F/Users//codingProject/vipidea-app/ios/SuperPlayer/Frameworks'
    
    duplicate symbol '_GetDirectoryOfType' in:
    
        /Users/Library/Developer/Xcode/DerivedData/Runner-ahfgshvxyadnmybaeqagczplrkcw/Build/Products/Debug-iphonesimulator/flutter_sound/libflutter_sound.a(FlutterSoundPlugin.o)
    
        /Users/Library/Developer/Xcode/DerivedData/Runner-ahfgshvxyadnmybaeqagczplrkcw/Build/Products/Debug-iphonesimulator/path_provider/libpath_provider.a(PathProviderPlugin.o)
    
    ld: 1 duplicate symbol for architecture x86_64
    
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    报错信息 方法重复。发现是依赖升级导致的冲突  

    flutter_sound和path_provider 有一个重1.4.3升到了1.5.1 所以出现了这个问题,解决方法是pubspec.lock 把版本改成低版本
  • 相关阅读:
    自定义异常
    this()和super()的区别
    Eclipse快速创建函数
    Eclipse的.java文件有蓝色三角符号
    可变数量参数
    近期的目标
    怎么在电脑右键的新建里面添加.md文件
    数组的排序(从小到大)
    Arrays类
    不用乘法计算乘法(快速计算)
  • 原文地址:https://www.cnblogs.com/wupeng88/p/11791713.html
Copyright © 2020-2023  润新知