diff --git a/Maio.xcframework/ios-arm64_armv7/Maio.framework/Info.plist b/Maio.xcframework/ios-arm64_armv7/Maio.framework/Info.plist
index 138c167..7e636f6 100644
Binary files a/Maio.xcframework/ios-arm64_armv7/Maio.framework/Info.plist and b/Maio.xcframework/ios-arm64_armv7/Maio.framework/Info.plist differ
diff --git a/Maio.xcframework/ios-arm64_armv7/Maio.framework/Maio b/Maio.xcframework/ios-arm64_armv7/Maio.framework/Maio
index 405ae92..815d385 100644
Binary files a/Maio.xcframework/ios-arm64_armv7/Maio.framework/Maio and b/Maio.xcframework/ios-arm64_armv7/Maio.framework/Maio differ
diff --git a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Info.plist b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Info.plist
index b76a399..4653228 100644
Binary files a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Info.plist and b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Info.plist differ
diff --git a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Maio b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Maio
index d3af665..a3e8f3b 100644
Binary files a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Maio and b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/Maio differ
diff --git a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeDirectory b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeDirectory
index bd3269b..8ca4cab 100644
Binary files a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeDirectory and b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeDirectory differ
diff --git a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeRequirements-1 b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeRequirements-1
index 313738e..0eb32bc 100644
Binary files a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeRequirements-1 and b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeRequirements-1 differ
diff --git a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeResources b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeResources
index 891ac36..2be0396 100644
--- a/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeResources
+++ b/Maio.xcframework/ios-arm64_i386_x86_64-simulator/Maio.framework/_CodeSignature/CodeResources
@@ -14,7 +14,7 @@
Info.plist
- OFlYAO9BwGXEwzxjcqOCxOpLdv4=
+ mQA9cQMTkdYqcbwn8HLNrxF8TkE=
Modules/module.modulemap
diff --git a/README.md b/README.md
index 69fb46c..3f1b5ab 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@

# maio iOS SDK
-- Version: 1.5.8
-- Released: 2021/06/15
+- Version: 1.6.0
+- Released: 2021/12/09
- Supported: iOS 9.0+ (Xcode 12.5+)
## What is maio?
diff --git a/release-notes.md b/release-notes.md
index 0f0aef1..0d314a1 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -1,5 +1,9 @@
# Release Notes
+## v1.6.0 (2021-12-09)
+- SKAdNetwork View Through トラッキングに必要な対応を実施しました。
+- アプリケーションがバックグラウンドに入った際の通信量を削減する対応を実施しました。
+
## v1.5.8 (2021-06-15)
- アプリケーションに登録されているSKAdNetworkIdが多数にわたる場合に、不具合が発生する問題を修正しました。
diff --git a/scripts/update-framework.sh b/scripts/update-framework.sh
index 15a8132..80de20f 100755
--- a/scripts/update-framework.sh
+++ b/scripts/update-framework.sh
@@ -1,29 +1,29 @@
#!/bin/bash
-echo "Start Maio.framework Update script."
+echo "Start Maio.xcframework Update script."
readonly ROOT=$(cd $(dirname $0)/.. && pwd)
-readonly FRAMEWORK="$ROOT/Maio.framework"
+readonly FRAMEWORK="$ROOT/Maio.xcframework"
echo "root: $ROOT"
-# 引数からMaio.frameworkを持ってくる
+# 引数からMaio.xcframeworkを持ってくる
-# Maio.frameworkであるかの検証
+# Maio.xcframeworkであるかの検証
# - 指定先がディレクトリでなければダメ
# - ディレクトリでも、Info.plistを直下に持っていなければダメ
if [ $# -ne 1 ]; then
- echo "argument error: 引数には差し替えるMaio.frameworkへのパスが必要です。" 1>&2
+ echo "argument error: 引数には差し替えるMaio.xcframeworkへのパスが必要です。" 1>&2
exit 1
fi
if ! [ -d $1 ] || ! [ -f $1/Info.plist ] ; then
- echo "argument error: $1: Maio.frameworkではない可能性があります。" 1>&2
+ echo "argument error: $1: Maio.xcframeworkではない可能性があります。" 1>&2
exit 1
fi
rm -rf $FRAMEWORK
if ! cp -af $1 $FRAMEWORK; then
echo "copy failded" 1>&2
- # Maio.frameworkをリカバリーする
+ # Maio.xcframeworkをリカバリーする
echo $(cd $ROOT && git checkout -- $FRAMEWORK)
exit 1
fi
@@ -49,7 +49,8 @@ readonly LATEST_VERSION=$(git tag | sort -t. -k 1.2,1n -k 2,2n -k 3,3n |tail -1)
echo ""
echo "latest: $LATEST_VERSION"
-readonly TARGET_VERSION="v$(plutil -p $FRAMEWORK/Info.plist | grep "CFBundleShortVersionString" | sed -e "s/[^0-9.]//g")"
+
+readonly TARGET_VERSION="v$(plutil -p $(find $FRAMEWORK/*/Maio.framework -name Info.plist | head -n 1) | grep "CFBundleShortVersionString" | sed -e "s/[^0-9.]//g")"
echo "target: $TARGET_VERSION"
readonly HIGHER_VERSION=$(for v in $LATEST_VERSION $TARGET_VERSION; do echo "$v"; done | sort -t. -k 1.2,1n -k 2,2n -k 3,3n |tail -1)
@@ -58,7 +59,7 @@ echo "higher: $HIGHER_VERSION"
if [ $LATEST_VERSION == $TARGET_VERSION ] ||
[ $HIGHER_VERSION != $TARGET_VERSION ]; then
echo "バージョン番号を更新する必要があります。" 1>&2
- # Maio.frameworkをリカバリーする
+ # Maio.xcframeworkをリカバリーする
echo $(cd $ROOT && git reset HEAD $DIFF_FILENAMES) > /dev/null
rm -rf $FRAMEWORK
echo $(cd $ROOT && git checkout -- $FRAMEWORK)
@@ -98,7 +99,7 @@ done
if [ "$key" != "y" ]; then
echo "終了します。"
- # Maio.frameworkをリカバリーする
+ # Maio.xcframeworkをリカバリーする
echo $(cd $ROOT && git reset HEAD $DIFF_FILENAMES) > /dev/null
rm -rf $FRAMEWORK
echo $(cd $ROOT && git checkout -- $FRAMEWORK)
@@ -107,7 +108,7 @@ fi
echo $(cd $ROOT && git checkout -b "release/${TARGET_VERSION}") > /dev/null
-echo $(cd $ROOT && git commit -m "Maio.frameworkを${TARGET_VERSION}に更新") > /dev/null
+echo $(cd $ROOT && git commit -m "Maio.xcframeworkを${TARGET_VERSION}に更新") > /dev/null
readonly TODAY=$(date "+%Y/%m/%d")
sed -i '' -E "s/(Version: ?).*$/\1${TARGET_VERSION#v}/" $ROOT/README.md