AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

iOS crashes with latest AppLovin version + Unity Ads Adapter #430

Closed EAdemov closed 1 month ago

EAdemov commented 1 month ago

MAX Plugin Version

7.0.0

Unity Version

2021.3.42f1

Device/Platform Info

iOS

Crashes/ANRs per Day

Every session

Percentage of Users Affected

100%

First Occurrence of Crash/ANR

After the updated to AppLovin 7.0.0 and updated Unity Ads adapter to 4.12.3.0. iOS application crashes with log Undefined symbol: OBJC_CLASS$_UnityAds

Exception and Stack Trace

Undefined symbol: OBJC_CLASS$_UnityAds

How to Reproduce

Updated to AppLovin 7.0.0 and updated Unity Ads adapter to 4.12.3.0

Reproducible in the demo app?

Yes

Additional Info

No response

alvarshahanji commented 1 month ago

I tried the demo app with Unity 2021.3.42f1, plug-in 7.0.0 and Unity ads adapter 4.12.3.0. I don't see my app crashing.

Could you share your project or the podfile?

Thanks.

EAdemov commented 1 month ago

Hello. Here's the Podfile:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '13.0'

target 'UnityFramework' do
  pod 'AppLovinMediationBidMachineAdapter', '3.0.1.0.0'
  pod 'AppLovinMediationByteDanceAdapter', '6.2.0.7.2'
  pod 'AppLovinMediationChartboostAdapter', '9.7.0.2'
  pod 'AppLovinMediationFacebookAdapter', '6.15.2.1'
  pod 'AppLovinMediationFyberAdapter', '8.3.2.1'
  pod 'AppLovinMediationGoogleAdapter', '11.10.0.0'
  pod 'AppLovinMediationGoogleAdManagerAdapter', '11.10.0.0'
  pod 'AppLovinMediationHyprMXAdapter', '6.4.1.0.1'
  pod 'AppLovinMediationInMobiAdapter', '10.7.5.1'
  pod 'AppLovinMediationIronSourceAdapter', '8.3.0.0.1'
  pod 'AppLovinMediationMintegralAdapter', '7.7.2.0.1'
  pod 'AppLovinMediationOguryPresageAdapter', '4.4.1.0'
  pod 'AppLovinMediationSmaatoAdapter', '22.9.0.0'
  pod 'AppLovinMediationUnityAdsAdapter', '4.12.3.0'
  pod 'AppLovinMediationVerveAdapter', '3.0.4.1'
  pod 'AppLovinMediationVungleAdapter', '7.4.1.1'
  pod 'AppLovinSDK', '13.0.0'
  pod 'AppsFlyerFramework', '6.15.2'
  pod 'FBSDKCoreKit', '~> 15.1'
  pod 'FBSDKCoreKit_Basics', '~> 15.1'
  pod 'FBSDKGamingServicesKit', '~> 15.1'
  pod 'FBSDKLoginKit', '~> 15.1'
  pod 'FBSDKShareKit', '~> 15.1'
  pod 'Firebase/Analytics', '11.0.0'
  pod 'Firebase/Core', '11.0.0'
  pod 'Firebase/Crashlytics', '11.0.0'
  pod 'Firebase/Messaging', '11.0.0'
  pod 'Firebase/RemoteConfig', '11.0.0'
  pod 'GoogleUserMessagingPlatform', '~> 2.1'
  pod 'Protobuf'
  pod 'UnityMediationSdk', '~> 1.0', :source => 'https://github.com/Unity-Technologies/unity-mediation-cocoapods-prod.git'
  pod 'UnityMediationUnityAdapter', :source => 'https://github.com/Unity-Technologies/unity-mediation-cocoapods-prod.git'
end

use_modular_headers!
target 'Unity-iPhone' do
end
alvarshahanji commented 1 month ago

The issue does not look related to AppLovin SDK or AppLovin Unity adapter. Looks like the error is coming from UnityMediationUnityAdapter because I see the issue resolving when you remove 'UnityMediationUnityAdapter' from the podfile.