flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

xcode报错:重复定义了_OBJC_CLASS_$_GeneratedPluginRegistrant

Open hongliang211 opened this issue 7 years ago • 1 comments

下面是xcode报错的信息:

duplicate symbol OBJC_CLASS$_GeneratedPluginRegistrant in: /Users/liheng/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ios_test1.build/Debug-iphoneos/ios_test1.build/Objects-normal/arm64/GeneratedPluginRegistrant.o /Users/liheng/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/FlutterPluginRegistrant/libFlutterPluginRegistrant.a(GeneratedPluginRegistrant.o) duplicate symbol OBJC_METACLASS$_GeneratedPluginRegistrant in: /Users/liheng/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ios_test1.build/Debug-iphoneos/ios_test1.build/Objects-normal/arm64/GeneratedPluginRegistrant.o /Users/liheng/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/FlutterPluginRegistrant/libFlutterPluginRegistrant.a(GeneratedPluginRegistrant.o) ld: 2 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

hongliang211 avatar Mar 20 '19 08:03 hongliang211

麻烦确认项目是否存在两个地方定义了GeneratedPluginRegistrant

nightwolf-chen avatar Mar 20 '19 09:03 nightwolf-chen