From a0c3beba36018c41b5202ec9493d0dcd1f78d444 Mon Sep 17 00:00:00 2001 From: Jan Kobersky Date: Fri, 1 Nov 2024 09:28:34 +0100 Subject: [PATCH] Version 3.0.0, compiled with Xcode 16.1 --- AppProtection.podspec | 10 +++++----- HISTORY.md | 3 +++ Package.swift | 10 +++++----- docs/Configuration.md | 2 +- docs/Installation.md | 8 ++++---- docs/Release-Notes.md | 10 +++++++--- prepare.sh | 2 +- 7 files changed, 26 insertions(+), 19 deletions(-) diff --git a/AppProtection.podspec b/AppProtection.podspec index 142da0b..a24ff39 100644 --- a/AppProtection.podspec +++ b/AppProtection.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.cocoapods_version = '>= 1.10' s.name = "AppProtection" - s.version = "2.1.2" + s.version = "3.0.0" s.summary = "Malwarelytics AppProtection by Wultra" s.homepage = "https://www.wultra.com/malwarelytics" s.social_media_url = 'https://twitter.com/wultra' @@ -19,10 +19,10 @@ Pod::Spec.new do |s| LICENSE } s.prepare_command = <<-CMD - ./prepare.sh 2.1.2 4afdd53186a287aff1c0e81dc3e8f049768ffae8332a790f4e8ef6bea0f4e96c + ./prepare.sh 3.0.0 65b7e8ad92eff9e9a2dcad893f1d4cad5d38613966d0366e5048ef23d3e00647 CMD - s.vendored_frameworks = "AppProtection.xcframework" + s.vendored_frameworks = "WultraAppProtection.xcframework" s.platform = :ios - s.swift_version = "5.0" - s.ios.deployment_target = '10.0' + s.swift_version = "5.10" + s.ios.deployment_target = '12.0' end \ No newline at end of file diff --git a/HISTORY.md b/HISTORY.md index 96fa1e0..d67d4f5 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,6 @@ +## 3.0.0 +- Renamed the swift module to __`WultraAppProtection`__ from `AppProtection` + ## 2.1.0 - Added unwanted apps detection diff --git a/Package.swift b/Package.swift index 78ed83c..2408d04 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.4 +// swift-tools-version:5.10 import PackageDescription let package = Package( @@ -7,12 +7,12 @@ let package = Package( .iOS(.v10) ], products: [ - .library(name: "AppProtection", targets: ["AppProtection"]) + .library(name: "WultraAppProtection", targets: ["WultraAppProtection"]) ], targets: [ .binaryTarget( - name: "AppProtection", - url: "https://wultra.jfrog.io/artifactory/malwarelytics-apple-release/AppProtection-2.1.2.xcframework.zip", - checksum: "4afdd53186a287aff1c0e81dc3e8f049768ffae8332a790f4e8ef6bea0f4e96c") + name: "WultraAppProtection", + url: "https://wultra.jfrog.io/artifactory/malwarelytics-apple-release/WultraAppProtection-3.0.0.xcframework.zip", + checksum: "65b7e8ad92eff9e9a2dcad893f1d4cad5d38613966d0366e5048ef23d3e00647") ] ) \ No newline at end of file diff --git a/docs/Configuration.md b/docs/Configuration.md index 32afdd6..6659564 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -36,7 +36,7 @@ The `AppSecurity` swift class is a sample implementation over the `AppProtection ```swift import Foundation -import AppProtection +import WultraAppProtection class AppSecurity: AppProtectionRaspDelegate { diff --git a/docs/Installation.md b/docs/Installation.md index 90bebb7..f56d8b8 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -33,7 +33,7 @@ Add the following repository as a dependency to your project: You can use Xcode's dedicated user interface to do this or add the dependency manually, for example: ```swift - // swift-tools-version:5.4 + // swift-tools-version:5.10 import PackageDescription @@ -45,13 +45,13 @@ Add the following repository as a dependency to your project: targets: ["YourLibrary"]), ], dependencies: [ - .package(name: "AppProtection", url: "https://github.com/wultra/malwarelytics-apple-release.git", .upToNextMajor(from: "1.2.0")) + .package(name: "AppProtection", url: "https://github.com/wultra/malwarelytics-apple-release.git", .upToNextMajor(from: "3.0.0")) ], targets: [ .target( name: "YourLibrary", dependencies: [ - "AppProtection" + "WultraAppProtection" ]) ] ) @@ -69,7 +69,7 @@ The library is also distributed via Cocoapods private repository. If you're not ```rb target 'MyProject' do use_frameworks! - pod 'AppProtection', :git => 'https://github.com/wultra/malwarelytics-apple-release.git', :tag => '2.1.1' + pod 'AppProtection', :git => 'https://github.com/wultra/malwarelytics-apple-release.git', :tag => '3.0.0' end ``` You can check the latest versions of the library at the [release page](https://github.com/wultra/malwarelytics-apple-release/tags). diff --git a/docs/Release-Notes.md b/docs/Release-Notes.md index 029e86e..30378b2 100644 --- a/docs/Release-Notes.md +++ b/docs/Release-Notes.md @@ -2,12 +2,16 @@ ## Current Release -### Release 2.1.2-dev +### Release 3.0.0 +- Renamed the swift module to __`WultraAppProtection`__ from `AppProtection` -- Change debugger detection default to `.notify` (#113) +## Previous Releases +### Release 2.1.2 + +- Change debugger detection default to `.notify` (#113) +- Updated TestFlight certificate -## Previous Releases ### Release 2.1.1 - Add unwanted apps detection (#104) diff --git a/prepare.sh b/prepare.sh index 2342a6e..c4c3a19 100755 --- a/prepare.sh +++ b/prepare.sh @@ -8,7 +8,7 @@ set +v # ----------------------------------------------------------------------------- # Global config # ----------------------------------------------------------------------------- -LIB_NAME='AppProtection' +LIB_NAME='WultraAppProtection' LIB_BASE_URL="https://wultra.jfrog.io/artifactory/malwarelytics-apple-release" # -----------------------------------------------------------------------------