Open himanshut230 opened 8 months ago
@himanshut230, the first code script in the documentation of Preparing Mediated Networks is for a plain iOS project. I guess you have installed our AppLoin Max package for React Native via npm
.
npm install react-native-applovin-max
In that case, node_modules/react-native-applovin-max/react-native-applovin-max.podspec
will be evaluated to install a specific version of AppLovinSDK
for your installed react-native-applovin-max
. Normally, it is automatically linked, but if you need it by yourself, can you do it like this to link AppLovinSDK
?
pod 'react-native-applovin-max', :path => '../node_modules/react-native-applovin-max'
MAX Module Version
6.2.3
React Native Version
0.69.3
Device/Platform Info
iOS 17.0.1
Current Behavior
I am getting this error when trying to build with Xcode 15.0.1:
ld: Undefined symbols: _ALMediationProviderMAX, referenced from: -[AppLovinMAX initialize::::] in AppLovinMAX.o _OBJCCLASS$_ALAtomicBoolean, referenced from: in AppLovinMAXNativeAdView.o _OBJCCLASS$_ALPrivacySettings, referenced from: in AppLovinMAX.o _OBJCCLASS$_ALSdk, referenced from: in AppLovinMAX.o _OBJCCLASS$_ALSdkSettings, referenced from: in AppLovinMAX.o _OBJCCLASS$_MAAdFormat, referenced from: in AppLovinMAX.o _OBJCCLASS$_MAAdView, referenced from: in AppLovinMAX.o _OBJCCLASS$_MAAppOpenAd, referenced from: in AppLovinMAX.o _OBJCCLASS$_MAInterstitialAd, referenced from: in AppLovinMAX.o _OBJCCLASS$_MANativeAdLoader, referenced from: in AppLovinMAXNativeAdView.o _OBJCCLASS$_MARewardedAd, referenced from: in AppLovinMAX.o _OBJCCLASS$_RCTImageView, referenced from: in AppLovinMAXNativeAdView.o clang: error: linker command failed with exit code 1 (use -v to see invocation)
Expected Behavior
No response
How to Reproduce
After following the documentation of Preparing Mediated Networks and adding the below CocoaPods script to my PodFile:
and running the command
pod install --repo-update
after this when I build my iOS app I get this error:My PodFile:
Additional Info
No response