Open rbyjoswald opened 1 year ago
Unity version : 2022.3.11f1 AppLovinSDK : 12.0.0 Error : 'AppLovinSDK/AppLovinSDK.h' file not found
Having the same issue.
Unity version : 2021.3.27f1
AppLovinSDK : 12.1.0
(from the Max Unity Plugin 6.1.0
)
Error : 'AppLovinSDK/AppLovinSDK.h' file not found
@gotech-dev @daltonbr Are you also using Unity Build Automation, and do you know if this is being caused by a certain adapter?
Hi @JonathanLiuApp - thanks for looking into it. I managed to get it working.
Locally, it works when I run $ pod install
before the build, so it downloads that missing dependency we are talking about above (the native iOS AppLovinSDK.h
).
Since I am using in-house automation with Fastlane, I needed to run the above command through a step in Fastlane - https://docs.fastlane.tools/actions/cocoapods/
This step wasn't necessary before in Xcode 14.3.1
, this started when we moved to Xcode 15.0.0
- I am not sure if there is another thing involved.
We are using xcproj
and not xcworkspace
.
# Inside Fastfile, before our iOS build step
# Run pod install
cocoapods(
podfile: build_dir,
use_bundle_exec: false
)
This issue is stale because it has been open for 30 days with no activity.
MAX Plugin Version
Max SDK - 5.11.3
Unity Version
Unity - 2021.3.19f1
Device/Platform Info
iOS
Current Behavior
This build-breaking evergreen of errors just started to pop up 4 days ago. No changes were made to anything related to the Applovin SDK or any of the mediation plugins on our side. We're using Unity Build Automation, and afaik there's no way to trigger cocoapods update ourselves. Tried all the suggestions in this thread [1] to no avail. Updated the Max SDK and all mediation plugins to their latest available versions without success.
We are able to get the builds working again by removing the Facebook Mediation adapter.
[1] https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/issues/74
Expected Behavior
Is there a way to make it work in a Cloud Build environment without removing the Facebook mediation adapter completely?
How to Reproduce
Build using Unity Build Automation with the above SDKs and the Facebook Ad Mediation.
Additional Info
No response