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

Undefined symbol: _ALMediationProviderMAX #371

Open
Coke26 opened this issue Sep 23, 2024 · 2 comments
Open

Undefined symbol: _ALMediationProviderMAX #371

Coke26 opened this issue Sep 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working stale This isue has been inactive

Comments

@Coke26
Copy link

Coke26 commented Sep 23, 2024

MAX SDK Version

12.0.0

Device/Platform Info

iOS18,xcode16

Current Behavior

I am utilizing the AppLovin SDK to develop a custom SDK of my own. The process via CocoaPods was uneventful, with no issues during pod install and the build phase. However, errors are being reported when running the demo with my SDK.

Xcode 16.0.0

error message:

Undefined symbols for architecture arm64:
"_ALMediationProviderMAX", referenced from:
___47-[AppLovinAdManager initWithSDKkey:withUnitid:]_block_invoke in AppLovinMaxAdsSDK
"OBJC_CLASS$_ALSdk", referenced from:
objc-class-ref in AppLovinMaxAdsSDK
"OBJC_CLASS$_ALSdkInitializationConfiguration", referenced from:
objc-class-ref in AppLovinMaxAdsSDK
"OBJC_CLASS$_MARewardedAd", referenced from:
objc-class-ref in AppLovinMaxAdsSDK
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Expected Behavior

No response

How to Reproduce

my PodFile:

Podfile.txt

Reproducible in the demo app?

Yes

Additional Info

No response

@Coke26 Coke26 added the bug Something isn't working label Sep 23, 2024
@applovinAsh
Copy link
Contributor

@Coke26, ALMediationProviderMAX is part of the new initialization API that was introduced in 12.3.1 as explained here: https://developers.applovin.com/en/max/ios/overview/new-sdk-initialization-api/. You may want to consider using the latest version of our SDK that has had multiple updates since 12.0.0. You can do this by adding pod 'AppLovinSDK', '13.0.0' or running pod install --repo-update in terminal.

@applovinAsh applovinAsh self-assigned this Sep 25, 2024
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

2 participants