Skip to content

Commit ff1aaed

Browse files
committed
prepare SPM adapter compliance
1 parent fb9db7b commit ff1aaed

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//
2+
// Exports.swift
3+
//
4+
//
5+
// Created by Paul NICOLAS on 21/11/2022.
6+
//
7+
8+
/// SPM compatibility: TeadsAdapterCommon sources are exposed as Swift Module
9+
@_exported import TeadsAdapterCommon
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//
2+
// Exports.swift
3+
//
4+
//
5+
// Created by Paul NICOLAS on 21/11/2022.
6+
//
7+
8+
/// SPM compatibility: TeadsAdapterCommon sources are exposed as Swift Module
9+
@_exported import TeadsAdapterCommon

TeadsAdMobAdapter.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Pod::Spec.new do |s|
1818
s.static_framework = true
1919
s.requires_arc = true
2020
s.source_files = ['MediationAdapters/TeadsAdMobAdapter/**/*{.swift}', 'MediationAdapters/Common/*{.swift}']
21+
s.exclude_files = ['MediationAdapters/TeadsAdMobAdapter/Exports.swift']
2122
s.dependency 'TeadsSDK', s.version.to_s
2223
s.dependency 'Google-Mobile-Ads-SDK', '>= 8.0'
2324

TeadsAppLovinAdapter.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ Pod::Spec.new do |s|
1818
s.static_framework = true
1919
s.requires_arc = true
2020
s.source_files = ['MediationAdapters/TeadsAppLovinAdapter/**/*{.swift}', 'MediationAdapters/Common/*{.swift}']
21+
s.exclude_files = ['MediationAdapters/TeadsAppLovinAdapter/Exports.swift']
2122
s.dependency 'TeadsSDK', s.version.to_s
22-
s.dependency 'AppLovinSDK', '>= 11.2.1'
23+
s.dependency 'AppLovinSDK', '>= 11.5.1'
2324

2425
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
2526
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

TeadsSampleApp/Controllers/InRead/AppLovin/ScrollView/InReadAppLovinScrollViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class InReadAppLovinScrollViewController: AppLovinViewController {
2222
super.viewDidLoad()
2323

2424
ALSdk.shared()?.mediationProvider = ALMediationProviderMAX
25-
ALSdk.shared()!.settings.isVerboseLogging = true
25+
ALSdk.shared()!.settings.isVerboseLoggingEnabled = true
2626
ALSdk.shared()!.initializeSdk { [weak self] _ in
2727
self?.loadAd()
2828
}

0 commit comments

Comments
 (0)