'The AppLovin' nightmare in Xcode, impossible to build the project

it's been weeks that I'm blocked because I can't build my project in Xcode on iOS. I looked all over the internet, none of the suggestions worked for me. I really hope I'm not a rare exception because this problem is painful and prevents me from moving forward..

Here is a the error that i have in Xcode

"#import <AppLovinSDK/AppLovinSDK.h' file not found"



Solution 1:[1]

Try to Build from Unity and not Build and Run:

enter image description here

And then open the .xworkspace file and not the .xcodeproj file:

enter image description here

Solution 2:[2]

I encountered it yesterday. If ApplovinSDK in Podfile is added implicitly, try to make it explicit. The problem was solved in my case.

I describe the detail.. There was no AppLovinSDK in the Podfile. The Podfile had "GoogleMobileAdsMediationAppLovin" instead. ApplovinSDK will be installed from it. I tried to add ApplovinSDK in Podfile ahead of "GoogleMobileAdsMediationAppLovin" Then it works. like this...

 pod 'ApplovinSDK', '10.3.6'     --- Added. 
 pod 'GoogleMobileAdsMediationAppLovin', '10.3.6.0'

I hope it helps.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jeremy Caney
Solution 2