Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The year 2023: AppLovinSDK.h file not found #284

Open
rbyjoswald opened this issue Sep 26, 2023 · 5 comments
Open

The year 2023: AppLovinSDK.h file not found #284

rbyjoswald opened this issue Sep 26, 2023 · 5 comments
Assignees
Labels
bug Something isn't working stale This isue has been inactive

Comments

@rbyjoswald
Copy link

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] #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

@rbyjoswald rbyjoswald added the bug Something isn't working label Sep 26, 2023
@gotech-dev
Copy link

Unity version : 2022.3.11f1
AppLovinSDK : 12.0.0
Error : 'AppLovinSDK/AppLovinSDK.h' file not found

@daltonbr
Copy link

daltonbr commented Dec 5, 2023

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

@JonathanLiuApp
Copy link
Contributor

@gotech-dev @daltonbr Are you also using Unity Build Automation, and do you know if this is being caused by a certain adapter?

@daltonbr
Copy link

daltonbr commented Dec 6, 2023

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
)

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale This isue has been inactive label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This isue has been inactive
Projects
None yet
Development

No branches or pull requests

4 participants