只为成功找方法,不为失败找理由。

博客园 首页 新随笔 联系 订阅 管理
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 把版本改成低版本
posted on 2019-11-04 13:56  诗意的活着  阅读(511)  评论(0编辑  收藏  举报