Closed dcosmin-97 closed 4 months ago
Here are some links with more details about AppLovin SDK switching to dynamic linking:
A workaround worked for me: add AppLovinSDK.xcframework
as Embedded Framework to Unity-iPhone
target.
I have submitted this issue to engineering to create a better work around.
I have submitted this issue to engineering to create a better work around. updates on this problem ?
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
This my final podfile: source 'https://cdn.cocoapods.org/' source 'https://github.com/CocoaPods/Specs'
platform :ios, '13.0'
target 'UnityFramework' do pod 'Firebase/Analytics', '10.25.0' pod 'Firebase/Core', '10.25.0' pod 'Firebase/Crashlytics', '10.25.0' pod 'GoogleMobileAdsMediationAppLovin', '12.5.0.0' pod 'GoogleMobileAdsMediationChartboost', '9.7.0.0' pod 'GoogleMobileAdsMediationFacebook', '6.15.0.0' pod 'GoogleMobileAdsMediationFyber', '8.2.8.0' pod 'GoogleMobileAdsMediationIronSource', '8.1.0.0.1' pod 'GoogleMobileAdsMediationMintegral', '7.6.4.0' pod 'GoogleMobileAdsMediationPangle', '5.9.0.9.0' pod 'GoogleMobileAdsMediationUnity', '4.11.3.1' pod 'GoogleMobileAdsMediationVungle', '7.3.2.0' pod 'Google-Mobile-Ads-SDK', '~> 11.3.0' end target 'Unity-iPhone' do end use_frameworks! :linkage => :static
My game crashes instantly, with the following error: Error loading /var/containers/Bundle/Application/52BB3E43-1486-4EB6-8DA2-F67521DD36DC/MathMaster.app/Frameworks/UnityFramework.framework/UnityFramework (137): dlopen(/var/containers/Bundle/Application/52BB3E43-1486-4EB6-8DA2-F67521DD36DC/MathMaster.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109): Library not loaded: @rpath/AppLovinSDK.framework/AppLovinSDK Referenced from: <70ED1D5C-0AF5-3D87-A30F-D2891DC51576> /private/var/containers/Bundle/Application/52BB3E43-1486-4EB6-8DA2-F67521DD36DC/MathMaster.app/Frameworks/UnityFramework.framework/UnityFramework Reason: tried: '/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (no such file), '/private/var/containers/Bundle/Application/52BB3E43-1486-4EB6-8DA2-F67521DD36DC/MathMaster.app/Frameworks/AppLovinSDK.framework/AppLovinSDK' (no such file), '/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/AppLovinSDK.framework/AppLovinSDK' (no such file), '/private/var/containers/Bundle/Application/52BB3E43-1486-4EB6-8DA2-F67521DD36DC/MathMaster.app/Frameworks/AppLovinSDK.framework/AppLovinSDK' (no such file), '/private/var/containers/Bundle/Application/52BB3E43-1486-4EB6-8DA2-F67521DD36DC/MathMaster.app/Frameworks/AppLovinSDK.framework/AppLovinSDK' (no such file)
Any workaround? I will try to downgrade to the previous applovin version to test.
Thank you!