diff --git a/Facebook/AppLovinMediationFacebookAdapter.podspec b/Facebook/AppLovinMediationFacebookAdapter.podspec index 728c0ec..6a066ff 100644 --- a/Facebook/AppLovinMediationFacebookAdapter.podspec +++ b/Facebook/AppLovinMediationFacebookAdapter.podspec @@ -2,8 +2,8 @@ Pod::Spec.new do |s| s.authors = 'AppLovin Corporation' s.name = 'AppLovinMediationFacebookAdapter' -s.version = '6.12.0.3' -s.platform = :ios, '10.0' +s.version = '6.14.0.0' +s.platform = :ios, '11.0' s.summary = 'Facebook adapter used for mediation with the AppLovin MAX SDK' s.homepage = "https://github.com/CocoaPods/Specs/search?o=desc&q=#{s.name}&s=indexed" s.license = @@ -26,16 +26,13 @@ s.source = s.vendored_frameworks = "#{s.name}-#{s.version}/#{s.name}.xcframework" -s.dependency 'FBAudienceNetwork', '= 6.12.0' +s.dependency 'FBAudienceNetwork', '= 6.14.0' s.dependency 'AppLovinSDK' s.swift_version = '5.0' s.pod_target_xcconfig = { - 'VALID_ARCHS' => 'arm64 arm64e armv7 armv7s x86_64', - 'VALID_ARCHS[sdk=iphoneos*]' => 'arm64 arm64e armv7 armv7s', - 'VALID_ARCHS[sdk=iphonesimulator*]' => 'arm64 arm64e x86_64', - 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' + 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } s.description = <<-DESC diff --git a/Facebook/CHANGELOG.md b/Facebook/CHANGELOG.md index 87ce0e0..1a0a5dd 100644 --- a/Facebook/CHANGELOG.md +++ b/Facebook/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 6.14.0.0 +* Certified with Facebook SDK 6.14.0. +* Updated minimum Xcode requirement to 14.1. +* Fixed potential memory leaks by clearing delegates in `destroy:` method. +* Updated the minimum required iOS version to 11.0 to match Facebook SDK. + ## 6.12.0.3 * Fix native ad's media content view to be clickable. * Remove the `privacySettingForSelector:fromParameters:` function and call privacy methods directly. diff --git a/Facebook/FacebookAdapter.xcodeproj/project.pbxproj b/Facebook/FacebookAdapter.xcodeproj/project.pbxproj index cc78fb1..4951d9b 100644 --- a/Facebook/FacebookAdapter.xcodeproj/project.pbxproj +++ b/Facebook/FacebookAdapter.xcodeproj/project.pbxproj @@ -298,7 +298,6 @@ MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; - VALID_ARCHS = "$(ARCHS_STANDARD)"; }; name = Debug; }; @@ -353,7 +352,6 @@ ONLY_ACTIVE_ARCH = NO; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; - VALID_ARCHS = "$(ARCHS_STANDARD)"; }; name = Release; }; @@ -366,7 +364,6 @@ DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = X8JXXK4FF5; ENABLE_BITCODE = NO; - EXCLUDED_ARCHS = i386; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "\"${PODS_ROOT}/FBAudienceNetwork/Static\"/**", @@ -397,7 +394,6 @@ DEAD_CODE_STRIPPING = NO; DEVELOPMENT_TEAM = X8JXXK4FF5; ENABLE_BITCODE = NO; - EXCLUDED_ARCHS = i386; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "\"${PODS_ROOT}/FBAudienceNetwork/Static\"/**", diff --git a/Facebook/FacebookAdapter/ALFacebookMediationAdapter.m b/Facebook/FacebookAdapter/ALFacebookMediationAdapter.m index e2a7995..8347e0e 100644 --- a/Facebook/FacebookAdapter/ALFacebookMediationAdapter.m +++ b/Facebook/FacebookAdapter/ALFacebookMediationAdapter.m @@ -9,7 +9,7 @@ #import "ALFacebookMediationAdapter.h" #import -#define ADAPTER_VERSION @"6.12.0.3" +#define ADAPTER_VERSION @"6.14.0.0" #define MEDIATION_IDENTIFIER [NSString stringWithFormat: @"APPLOVIN_%@:%@", [ALSdk version], self.adapterVersion] #define ICON_VIEW_TAG 3 @@ -169,28 +169,36 @@ static MAAdapterInitializationStatus ALFacebookSDKInitializationStatus = NSInteg self.interstitialAd.delegate = nil; self.interstitialAd = nil; + self.interstitialAdapterDelegate.delegate = nil; self.interstitialAdapterDelegate = nil; self.rewardedInterAd.delegate = nil; self.rewardedInterAd = nil; + self.rewardedInterAdapterDelegate.delegate = nil; self.rewardedInterAdapterDelegate = nil; self.rewardedVideoAd.delegate = nil; self.rewardedVideoAd = nil; + self.rewardedAdapterDelegate.delegate = nil; self.rewardedAdapterDelegate = nil; self.adView.delegate = nil; self.adView = nil; + self.adViewAdapterDelegate.delegate = nil; self.adViewAdapterDelegate = nil; [self.nativeAd unregisterView]; self.nativeAd.delegate = nil; self.nativeAd = nil; + self.nativeAdViewAdAdapterDelegate.delegate = nil; self.nativeAdViewAdAdapterDelegate = nil; + self.nativeAdAdapterDelegate.delegate = nil; + self.nativeAdAdapterDelegate = nil; [self.nativeBannerAd unregisterView]; self.nativeBannerAd.delegate = nil; self.nativeBannerAd = nil; + self.nativeBannerAdAdapterDelegate.delegate = nil; self.nativeBannerAdAdapterDelegate = nil; }