Vungle / Flutter-Plugin

new flutter project.
MIT License
7 stars 5 forks source link

iOS duplicate symbols clang: error: linker command failed with exit code 1 (use -v to see invocation) #23

Open roma7481 opened 7 months ago

roma7481 commented 7 months ago

I heve an AdMob mediation for vungle (new name Liftoff Monetize) wich I implemented few month back, it was working fine https://developers.google.com/admob/ios/choose-networks

Recently started getting the following error when trying to build for iOS

  duplicate symbol '_OBJC_IVAR_$_OMIDVungleFriendlyObstruction._obstructionViewClass' in:
      /Users/romanmakarenko/Library/Developer/Xcode/DerivedData/Runner-gfnotouvwshkdkasrbeodwmqucnk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/VungleAds/VungleAdsSDK.framework/VungleAdsSDK[214](OMIDFriendlyObstruction.o)
      /Users/romanmakarenko/Library/Developer/Xcode/DerivedData/Runner-gfnotouvwshkdkasrbeodwmqucnk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/VungleSDK-iOS/VungleSDK.framework/VungleSDK[arm64][174](OMIDFriendlyObstruction.o)
  duplicate symbol '_OBJC_CLASS_$_OMIDVungleAdSessionConfiguration' in:
      /Users/romanmakarenko/Library/Developer/Xcode/DerivedData/Runner-gfnotouvwshkdkasrbeodwmqucnk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/VungleAds/VungleAdsSDK.framework/VungleAdsSDK[205](OMIDAdSessionConfiguration.o)
      /Users/romanmakarenko/Library/Developer/Xcode/DerivedData/Runner-gfnotouvwshkdkasrbeodwmqucnk/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/VungleSDK-iOS/VungleSDK.framework/VungleSDK[arm64][165](OMIDAdSessionConfiguration.o)
  ld: 167 duplicate symbols
  clang: error: linker command failed with exit code 1 (use -v to see invocation

vungle 0.6.12

Podfile

target 'Runner' do
...
#   mediation

  pod 'GoogleMobileAdsMediationVungle' #like mentioned in the mediation guide

Podfile.lock

   vungle (6.12.2):
    Flutter
    VungleSDK-iOS
  VungleAds (7.2.2)
  VungleSDK-iOS (6.12.3)

(looks like overlaping dependencies in vungle and VungleSDK-iOS)

vungle_error_log.txt