If you are getting errors when importing the AL header files in your classes in Xcode, for example:
'ALSdk.h' file not found
There are two common reasons that could cause this:
a. If you are upgrading the AppLovin iOS SDK to a version that is equal to or greater than 3.5.0, and you are switching from integrating the SDK as raw binary with header files, to integrating the SDK as a framework, you would be required to:
1. Remove all import statements for our SDK. (i.e. #import "ALSdk.h")
2. Replace removed import statements with either:
or if you’re using modules,
More information is included within the "Migrating from Old Integration" guide that comes with our iOS SDK.
b. If you are integrating the AppLovin SDK as raw binary with header files (and not as a framework), you would have to make sure that the "headers" folder that comes with the SDK is included in the Xcode project, and located within the header search path range of the project. Header search paths are configured under ‘Build Settings’ > ‘Search Paths’ > ‘Header Search Paths’.