Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
roma7481 opened this issue Apr 16, 2024 · 0 comments

Comments

@roma7481
Copy link

roma7481 commented Apr 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant