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