From 4cf7e3b5628adc9a3aa2b577a61d4648df52c0ba Mon Sep 17 00:00:00 2001 From: Kirubakar Muruganandam Date: Tue, 7 Mar 2023 23:48:53 +0000 Subject: [PATCH 1/5] Merge pull request #884 in MOBILE-SDK/app_mobile-sdk-ios from release_branch_v8.5 to develop Squashed commit of the following: commit f2d31855b2c1a390c6882f16dbc178abaa0e6861 Author: Kirubakar Muruganandam Date: Tue Mar 7 17:20:45 2023 -0600 8.5.0 Improvement/Bug Fixes MS-5227 Fixed issue with loading multiple outstream video ads simultaneously --- AppNexusSDK.podspec | 2 +- RELEASE-NOTES.md | 5 +++++ sdk/AppNexusSDK.xcodeproj/project.pbxproj | 12 ++++++------ sdk/sourcefiles/internal/ANGlobal.h | 4 ++-- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/AppNexusSDK.podspec b/AppNexusSDK.podspec index aeb95740..a8a14961 100644 --- a/AppNexusSDK.podspec +++ b/AppNexusSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "AppNexusSDK" - s.version = "8.4.0" + s.version = "8.5.0" s.platform = :ios, "10.0" s.summary = "AppNexus iOS Mobile Advertising SDK" diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index a6ca4f34..09ff9e2d 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,8 @@ +## 8.5.0 + +### Improvement/Bug Fixes ++ MS-5227 Fixed issue with loading multiple outstream video ads simultaneously + ## 8.4.0 Update version to match Android SDK. No changes from 8.3.0 diff --git a/sdk/AppNexusSDK.xcodeproj/project.pbxproj b/sdk/AppNexusSDK.xcodeproj/project.pbxproj index ea496d1a..0a9bcf59 100644 --- a/sdk/AppNexusSDK.xcodeproj/project.pbxproj +++ b/sdk/AppNexusSDK.xcodeproj/project.pbxproj @@ -1905,7 +1905,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 8.4.0; + MARKETING_VERSION = 8.5.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = Xandr.AppNexusNativeMacOSSDK; @@ -1950,7 +1950,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 8.4.0; + MARKETING_VERSION = 8.5.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = Xandr.AppNexusNativeMacOSSDK; @@ -1996,7 +1996,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.4.0; + MARKETING_VERSION = 8.5.0; MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2038,7 +2038,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.4.0; + MARKETING_VERSION = 8.5.0; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2202,7 +2202,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.4.0; + MARKETING_VERSION = 8.5.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = corp.appnexus.AppNexusSDK; @@ -2253,7 +2253,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.4.0; + MARKETING_VERSION = 8.5.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = corp.appnexus.AppNexusSDK; diff --git a/sdk/sourcefiles/internal/ANGlobal.h b/sdk/sourcefiles/internal/ANGlobal.h index 43da749b..37631ea1 100644 --- a/sdk/sourcefiles/internal/ANGlobal.h +++ b/sdk/sourcefiles/internal/ANGlobal.h @@ -29,9 +29,9 @@ #if !APPNEXUS_NATIVE_MACOS_SDK - #define AN_SDK_VERSION @"8.4.0" + #define AN_SDK_VERSION @"8.5.0" #else - #define AN_SDK_VERSION @"8.4.0-mac" + #define AN_SDK_VERSION @"8.5.0-mac" #endif From dabf146a5981192e9930aef7501546a320c7d928 Mon Sep 17 00:00:00 2001 From: ksubramanian Date: Wed, 12 Apr 2023 10:39:43 -0400 Subject: [PATCH 2/5] Upated Package swift file to support Google Mediation --- Package.swift | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Package.swift b/Package.swift index 1928f79d..8f2ecd8a 100644 --- a/Package.swift +++ b/Package.swift @@ -16,6 +16,15 @@ let package = Package( "AppNexusSDK", ] ), + .library( + name: "GoogleMediationAdapter", + targets: [ + "GoogleMediationAdapter", + ] + ), + ], + dependencies: [ + .package(name: "GoogleMobileAds", url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", .exact("10.3.0")) ], targets: [ .binaryTarget( @@ -48,5 +57,13 @@ let package = Package( .headerSearchPath("./Viewability"), ] ) + .target( + name: "GoogleMediationAdapter", + dependencies: ["AppNexusSDK","GoogleMobileAds"], + path: "mediation/mediatedviews/GoogleAdMob", + cSettings: [ + .headerSearchPath("./"), + ] + ) ] ) From c8dbc8b74ef1da421dadab9f718d0f02c4024188 Mon Sep 17 00:00:00 2001 From: ksubramanian Date: Wed, 12 Apr 2023 12:05:54 -0400 Subject: [PATCH 3/5] Fixed buld issue --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 8f2ecd8a..5b606365 100644 --- a/Package.swift +++ b/Package.swift @@ -56,7 +56,7 @@ let package = Package( .headerSearchPath("./video"), .headerSearchPath("./Viewability"), ] - ) + ), .target( name: "GoogleMediationAdapter", dependencies: ["AppNexusSDK","GoogleMobileAds"], From f1bd4922dc3d9df541e7bc55f5fca7508c94740e Mon Sep 17 00:00:00 2001 From: ksubramanian Date: Thu, 20 Apr 2023 10:39:09 -0400 Subject: [PATCH 4/5] updated iOS version --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 5b606365..53a6f505 100644 --- a/Package.swift +++ b/Package.swift @@ -7,7 +7,7 @@ let package = Package( name: "AppNexusSDK", defaultLocalization: "en", platforms: [ - .iOS(.v9), + .iOS(.v10), ], products: [ .library( From bb7eafbfd01da546fb3d6d1ce294f3ac9469f997 Mon Sep 17 00:00:00 2001 From: ksubramanian Date: Wed, 26 Apr 2023 13:18:56 -0400 Subject: [PATCH 5/5] v8.6.0 Release changes --- AppNexusSDK.podspec | 4 ++-- RELEASE-NOTES.md | 8 ++++++++ sdk/AppNexusSDK.xcodeproj/project.pbxproj | 14 ++++++++------ sdk/sourcefiles/internal/ANGlobal.h | 4 ++-- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/AppNexusSDK.podspec b/AppNexusSDK.podspec index a8a14961..5c2cc50a 100644 --- a/AppNexusSDK.podspec +++ b/AppNexusSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "AppNexusSDK" - s.version = "8.5.0" + s.version = "8.6.0" s.platform = :ios, "10.0" s.summary = "AppNexus iOS Mobile Advertising SDK" @@ -31,7 +31,7 @@ DESC s.subspec 'GoogleAdapter' do |subspec| subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}" - subspec.dependency 'Google-Mobile-Ads-SDK', '9.14.0' + subspec.dependency 'Google-Mobile-Ads-SDK', '10.3.0' subspec.source_files = "mediation/mediatedviews/GoogleAdMob/*.{h,m}" subspec.public_header_files = "mediation/mediatedviews/GoogleAdMob/ANGoogleMediationSettings.h" subspec.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/Google-Mobile-Ads-SDK/**' } diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 09ff9e2d..c0c53338 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,11 @@ +## 8.6.0 + +### Improvement/Bug Fixes ++ MS-5281 Added Swift Package Manager support for Google Mediation Adapter + +### Mediation / CSR partner updates ++ Upgraded Google AdMob SDK from 9.14.0 to 10.3.0 + ## 8.5.0 ### Improvement/Bug Fixes diff --git a/sdk/AppNexusSDK.xcodeproj/project.pbxproj b/sdk/AppNexusSDK.xcodeproj/project.pbxproj index 0a9bcf59..2b126ae4 100644 --- a/sdk/AppNexusSDK.xcodeproj/project.pbxproj +++ b/sdk/AppNexusSDK.xcodeproj/project.pbxproj @@ -1884,6 +1884,7 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; @@ -1905,7 +1906,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 8.5.0; + MARKETING_VERSION = 8.6.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = Xandr.AppNexusNativeMacOSSDK; @@ -1929,6 +1930,7 @@ CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; @@ -1950,7 +1952,7 @@ "@loader_path/Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.14; - MARKETING_VERSION = 8.5.0; + MARKETING_VERSION = 8.6.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = Xandr.AppNexusNativeMacOSSDK; @@ -1996,7 +1998,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.5.0; + MARKETING_VERSION = 8.6.0; MTL_ENABLE_DEBUG_INFO = YES; PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2038,7 +2040,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.5.0; + MARKETING_VERSION = 8.6.0; MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = "corp.appnexus.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2202,7 +2204,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.5.0; + MARKETING_VERSION = 8.6.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = corp.appnexus.AppNexusSDK; @@ -2253,7 +2255,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 8.5.0; + MARKETING_VERSION = 8.6.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = corp.appnexus.AppNexusSDK; diff --git a/sdk/sourcefiles/internal/ANGlobal.h b/sdk/sourcefiles/internal/ANGlobal.h index 37631ea1..5055e7f5 100644 --- a/sdk/sourcefiles/internal/ANGlobal.h +++ b/sdk/sourcefiles/internal/ANGlobal.h @@ -29,9 +29,9 @@ #if !APPNEXUS_NATIVE_MACOS_SDK - #define AN_SDK_VERSION @"8.5.0" + #define AN_SDK_VERSION @"8.6.0" #else - #define AN_SDK_VERSION @"8.5.0-mac" + #define AN_SDK_VERSION @"8.6.0-mac" #endif