AppLovin / AppLovin-MAX-Unity-Plugin

111 stars 31 forks source link

Can't build on iOS with latest Yandex Network integrated #295

Closed NudeNULL closed 6 months ago

NudeNULL commented 7 months ago

MAX Plugin Version

5.11.5

Unity Version

2022.3.10

Device/Platform Info

iOS

Current Behavior

The build fails with following error:

Undefined symbols for architecture arm64:
  "_$s6DivKit0A16VariablesStorageCACycfc", referenced from:
      _$s15YandexMobileAds30DivBlockModelingContextFactoryC4make02adD18LocalImageProvider0D3Kit0defG0VAA02AddklM0C_tF in YandexMobileAds(DivBlockModelingContextFactory.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Expected Behavior

The build should not fail, because all the documentation steps are respected

How to Reproduce

Did not try myself exactly these steps, but:

  1. Create a Unity project and integrate MAX and Yandex network of versions specified above
  2. Build for iOS, in Xcode it should fail

Additional Info

This is the resulting Pod file:

source 'https://cdn.cocoapods.org/'

platform :ios, '13.0'

target 'UnityFramework' do
  pod 'AppLovinMediationAdColonyAdapter', '4.9.0.0.4'
  pod 'AppLovinMediationByteDanceAdapter', '5.5.0.7.0'
  pod 'AppLovinMediationFacebookAdapter', '6.14.0.0'
  pod 'AppLovinMediationFyberAdapter', '8.2.4.0'
  pod 'AppLovinMediationGoogleAdapter', '10.12.0.0'
  pod 'AppLovinMediationGoogleAdManagerAdapter', '10.12.0.0'
  pod 'AppLovinMediationInMobiAdapter', '10.6.0.0'
  pod 'AppLovinMediationIronSourceAdapter', '7.5.0.0.0'
  pod 'AppLovinMediationMintegralAdapter', '7.4.7.0.0'
  pod 'AppLovinMediationMyTargetAdapter', '5.19.0.0'
  pod 'AppLovinMediationSmaatoAdapter', '22.4.0.0'
  pod 'AppLovinMediationUnityAdsAdapter', '4.9.1.0'
  pod 'AppLovinMediationVungleAdapter', '7.1.0.1'
  pod 'AppLovinMediationYandexAdapter', '6.1.0.0'
  pod 'AppLovinSDK', '11.11.4'
  pod 'AppsFlyer-AdRevenue', '6.9.1'
  pod 'AppsFlyerFramework', '6.12.1'
  pod 'FBAudienceNetwork', '6.14.0.0'
  pod 'FBSDKCoreKit', '~> 14.1'
  pod 'FBSDKCoreKit_Basics', '~> 14.1'
  pod 'FBSDKGamingServicesKit', '~> 14.1'
  pod 'FBSDKLoginKit', '~> 14.1'
  pod 'FBSDKShareKit', '~> 14.1'
  pod 'Firebase/Analytics', '10.7.0'
  pod 'Firebase/Core', '10.7.0'
  pod 'YandexMobileMetrica', '4.2.0'
end
target 'Unity-iPhone' do
end
use_frameworks!
JonathanLiuApp commented 6 months ago

This issue seems to have been fixed in the latest Yandex adapter version 6.1.0.1.