ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

flutter duplicate symbol '_GetDirectoryOfType' in:

2019-11-04 14:04:35  阅读:79  来源: 互联网

标签:ld Users symbol GetDirectoryOfType duplicate provider flutter



<style></style>
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 把版本改成低版本


标签:ld,Users,symbol,GetDirectoryOfType,duplicate,provider,flutter
来源: https://www.cnblogs.com/wupeng88/p/11791713.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有