Skip to content

Commit

Permalink
Pull request #923: Release 8.9.0 branch
Browse files Browse the repository at this point in the history
Merge in MOBILE-SDK/app_mobile-sdk-ios from release_8.9.0_branch to master

* commit '8d2d43275eb1b81f9bda540dcf58399abcdcfe6b':
  updated version in release notes
  Updated PodSpec version
  v8.9.0 Release changes
  Pull request #921: Fix TestCases for 8.9.0 release
  Pull request #919: 5732707 Portrait/Landscape/Square sizes should not be applied for HTML Banner Ads
  Pull request #912: MS-5382 Upgrade OMID version 1.4.8
  Pull request #913: MS-5387 Updated AdMob 10.10.0 and tested
  Pull request #915: MS-5390 Upgrade Smart Ad Server 7.22.0
  Pull request #918: updated deployment target for all SDKs to 12.0 minimum
  Pull request #916: Platform updated podspec
  Pull request #906: Refactored build script with updated comments and removed unused scripts
  • Loading branch information
Kowshickkarthick Subramanian committed Oct 19, 2023
2 parents c7c4190 + 8d2d432 commit d2c876b
Show file tree
Hide file tree
Showing 112 changed files with 366 additions and 529 deletions.
8 changes: 4 additions & 4 deletions AppNexusSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Pod::Spec.new do |s|

s.name = "AppNexusSDK"
s.version = "8.8.1"
s.platform = :ios, "11.0"
s.version = "8.9.0"
s.platform = :ios, "12.0"

s.summary = "AppNexus iOS Mobile Advertising SDK"
s.description = <<-DESC
Expand Down Expand Up @@ -31,7 +31,7 @@ DESC

s.subspec 'GoogleAdapter' do |subspec|
subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}"
subspec.dependency 'Google-Mobile-Ads-SDK', '10.3.0'
subspec.dependency 'Google-Mobile-Ads-SDK', '10.10.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/**' }
Expand All @@ -49,7 +49,7 @@ DESC
subspec.dependency 'AppNexusSDK/AppNexusSDK', "#{s.version}"
subspec.source_files = "mediation/mediatedviews/SmartAd/*.{h,m}"
subspec.public_header_files = "mediation/mediatedviews/SmartAd/ANAdAdapterSmartAdBase.h"
subspec.dependency 'Smart-Display-SDK', '7.17.1'
subspec.dependency 'Smart-Display-SDK', '7.22.0'
subspec.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '${PODS_ROOT}/Smart-Display-SDK/**' }
end

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let package = Package(
),
],
dependencies: [
.package(name: "GoogleMobileAds", url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", .exact("10.3.0"))
.package(name: "GoogleMobileAds", url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", .exact("10.10.0"))
],
targets: [
.binaryTarget(
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
Appnexus iOS SDK
=====================

```
MobileSDK v6.0 will be a breaking change and requires existing users who wish to upgrade from previous versions
to follow our release notes for details https://github.com/appnexus/mobile-sdk-ios/releases/tag/6.0
```


See the documentation on our wiki here: https://docs.xandr.com/bundle/mobile-sdk/page/xandr-mobile-sdks.html

Get the latest release notes here: https://github.com/appnexus/mobile-sdk-ios/releases
Expand All @@ -18,7 +12,7 @@ Get the latest release notes here: https://github.com/appnexus/mobile-sdk-ios/re
Easily include the AppNexus SDK in your Podfile:

```
platform :ios, '9.0'
platform :ios, '10.0'
target 'MyAmazingApp' do
pod 'AppNexusSDK'
Expand Down
11 changes: 11 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 8.9.0

### Improvement/Bug Fixes
+ 5663106 Upgraded OMSDK from 1.4.2 to 1.4.8
+ 5732707 Addressed issue with Video Orientation Sizes getting applied to HTML Banner creatives


### Mediation partner updates
+ 5622329 Upgraded Google AdMob SDK from 10.3.0 to 10.10.0
+ 5622334 Upgraded Smart Ad Server SDK from 7.17.1 to 7.22.0

## 8.8.1

### Improvement/ Bug Fixes
Expand Down
56 changes: 0 additions & 56 deletions script/buildANSDKNativeFramework.sh

This file was deleted.

65 changes: 0 additions & 65 deletions script/buildAppNexusSDK.sh

This file was deleted.

25 changes: 13 additions & 12 deletions script/buildDynamicXCframework.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
#!/bin/bash
# buildxcframework.sh
# The AppNexusSDK.xcframework and AppNexusNativeSDK.xcframework are built using the script file.
# These instructions will create a zip file named AppNexusSDK.xcframework.zip that contains three frameworks: AppNexusSDK.xcframework, OMSDK_Appnexus.xcframework, and AppNexusNativeSDK.xcframework.
# The AppNexusSDK.xcframework with OMSDK_Appnexus.xcframework or AppNexusNativeSDK.xcframework framework with OMSDK_Appnexus can be used in any combination.
# iphoneos archive, or iphonesimulator archive will be used to generate the xcframework.
# buildDynamicXCframework.sh
# You have to pass the Schema name as argument when you run the script for example:
# From inside /app_mobile-sdk-ios/sdk(where the AppNexusSDK.xcodeproj file is present) you can run the below commands
# sh ../script/buildDynamicXCframework.sh AppNexusSDK
# sh ../script/buildDynamicXCframework.sh AppNexusNativeSDK

# The AppNexusSDK.xcframework.zip and AppNexusNativeSDK.xcframework.zip are built using the script file.
# When run "AppNexusSDK" as the schema(argument), these instructions will create a zip file named AppNexusSDK.xcframework.zip that contains: AppNexusSDK.xcframework and OMSDK_Appnexus.xcframework.
# When run "AppNexusNativeSDK" as the schema(argument), these instructions will create a zip file named AppNexusNativeSDK.xcframework.zip that contains: AppNexusNativeSDK.xcframework and OMSDK_Appnexus.xcframework.
# iphoneos archive and iphonesimulator archive will be used to generate the xcframework.
# All temporary binaries will be removed using rm commands once the xcframework has been produced and the zip has been created.



# Output directory name
OUTDIR=$1+"Framework"
# Scheme name AppNexusSDK OR AppNexusNativeSDK
SCHEMENAME=$1

Expand Down Expand Up @@ -48,17 +51,15 @@ rm -rf ./iphoneos
# Copy OMSDK_Appnexus.xcframework from Viewability to XCFramework
cp -a "./sourcefiles/Viewability/dynamic_framework/OMSDK_Appnexus.xcframework" "../XCFramework"

#mv ../XCFramework/OMSDK-Static_Appnexus.xcframework ../XCFramework/OMSDK_Appnexus.xcframework


# Move to XCFramework folder

cd ../XCFramework

##
## create zip with name AppNexusSDK.xcframework.zip which included AppNexusSDK.xcframework OMSDK_Appnexus.xcframework and AppNexusNativeSDK.xcframework
## create zip with name $SCHEMENAME.xcframework.zip which included $SCHEMENAME.xcframework OMSDK_Appnexus.xcframework
zip -r ../$SCHEMENAME.xcframework.zip *

# Remove all temporary binaries
cd ..

rm -rf ./XCFramework

30 changes: 11 additions & 19 deletions script/buildStaticXCframework.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash
# buildxcframework.sh
# The AppNexusSDK.xcframework and AppNexusNativeSDK.xcframework are built using the script file.
# These instructions will create a zip file named AppNexusSDK.xcframework.zip that contains three frameworks: AppNexusSDK.xcframework, OMSDK_Appnexus.xcframework, and AppNexusNativeSDK.xcframework.
# The AppNexusSDK.xcframework with OMSDK_Appnexus.xcframework or AppNexusNativeSDK.xcframework framework with OMSDK_Appnexus can be used in any combination.
# iphoneos archive, or iphonesimulator archive will be used to generate the xcframework.
# buildStaticXCframework.sh
# From inside /app_mobile-sdk-ios/sdk(where the AppNexusSDK.xcodeproj file is present) you can run the below commands
# sh ../script/buildStaticXCframework.sh

# The AppNexusNativeStaticSDK.xcframework.zip is built using the script file.
# These instructions will create a zip file named AppNexusNativeStaticSDK.xcframework.zip that contains : AppNexusNativeStaticSDK.xcframework and ANSDKResources.bundle.
# iphoneos archive and iphonesimulator archive will be used to generate the xcframework.
# All temporary binaries will be removed using rm commands once the xcframework has been produced and the zip has been created.


Expand Down Expand Up @@ -46,26 +48,16 @@ xcodebuild archive \
rm -rf ./iphonesimulator
rm -rf ./iphoneos

# Copy OMSDK_Appnexus.xcframework from Viewability to XCFramework
#cp -a "./sourcefiles/Viewability/static_framework/OMSDK-Static_Appnexus.xcframework" "../XCFramework"
# Copy ANSDKResources.bundle to XCFramework
cp -a "./sourcefiles/Resources/ANSDKResources.bundle" "../XCFramework"

#mv ../XCFramework/OMSDK-Static_Appnexus.xcframework ../XCFramework/OMSDK_Appnexus.xcframework


# Move to XCFramework folder

cd ../XCFramework
##
## create zip with name AppNexusSDK.xcframework.zip which included AppNexusSDK.xcframework OMSDK_Appnexus.xcframework and AppNexusNativeSDK.xcframework

## create a zip file named AppNexusNativeStaticSDK.xcframework.zip that contains : AppNexusNativeStaticSDK.xcframework and ANSDKResources.bundle.
zip -r ../AppNexusNativeStaticSDK.xcframework.zip *
#cd ..
##
## Removed XCFramework folder
##
#rm -rf XCFramework
#

# Remove all temporary binaries
cd ..

rm -rf ./XCFramework
22 changes: 18 additions & 4 deletions script/buildmacOSxcframework.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash
# buildxcframework.sh
# The AppNexusNativeMacOSSDK.xcframework are built using the script file.
# These instructions will create AppNexusNativeMacOSSDK.xcframework.
# macOS archive will be used to generate the xcframework.
# buildmacOSxcframework.sh
# From inside /app_mobile-sdk-ios/sdk(where the AppNexusSDK.xcodeproj file is present) you can run the below commands
# sh ../script/buildmacOSxcframework.sh

# The AppNexusNativeMacOSSDK.xcframework.zip is built using the script file.
# These instructions will create a zip file named AppNexusNativeMacOSSDK.xcframework.zip that contains : AppNexusNativeMacOSSDK.xcframework
# macOS archive will be used to generate the AppNexusNativeMacOSSDK.xcframework.
# All temporary binaries will be removed using rm commands once the xcframework has been produced and the zip has been created.


Expand All @@ -22,3 +25,14 @@ BUILD_LIBRARY_FOR_DISTRIBUTION=YES
-output ./../XCFramework/AppNexusNativeMacOSSDK.xcframework

rm -rf ../output

# Move to XCFramework folder
cd ../XCFramework

##
## create zip with name AppNexusNativeMacOSSDK.xcframework.zip
zip -r ../AppNexusNativeMacOSSDK.xcframework.zip *

# Remove all temporary binaries
cd ..
rm -rf ./XCFramework
10 changes: 5 additions & 5 deletions script/buildxcframework.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
# buildxcframework.sh
# The AppNexusSDK.xcframework and AppNexusNativeSDK.xcframework are built using the script file.
# These instructions will create a zip file named AppNexusSDK.xcframework.zip that contains three frameworks: AppNexusSDK.xcframework, OMSDK_Appnexus.xcframework, and AppNexusNativeSDK.xcframework.
# The AppNexusSDK.xcframework with OMSDK_Appnexus.xcframework or AppNexusNativeSDK.xcframework framework with OMSDK_Appnexus can be used in any combination.
# iphoneos archive, or iphonesimulator archive will be used to generate the xcframework.
# All temporary binaries will be removed using rm commands once the xcframework has been produced and the zip has been created.
# From inside /app_mobile-sdk-ios/sdk(where the AppNexusSDK.xcodeproj file is present) you can run the below commands
# sh ../script/buildxcframework.sh

# The AppNexusSDK.xcframework.zip, AppNexusNativeSDK.xcframework.zip and AppNexusNativeStaticSDK.xcframework.zip are built using the script file.
# This is just an umbrella script used during release time to build all of the supported(both static and dynamic) XCFramework's for iphoneos and iphonesimulator

# Build Static Framework
sh ../script/buildStaticXCframework.sh
Expand Down
2 changes: 1 addition & 1 deletion sdk/AppNexusNativeSDK/SDK-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>8.8.0</string>
<string>8.9.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion sdk/AppNexusNativeStaticSDK/SDK-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>8.8.0</string>
<string>8.9.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
Loading

0 comments on commit d2c876b

Please sign in to comment.