From 7e27b1c85d38bc9275ba908493b31ea2a3de954e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20De=CC=81fago?= Date: Tue, 24 Nov 2020 12:12:08 +0100 Subject: [PATCH 1/3] Bump version number --- Demo/Demo.xcconfig | 2 +- Package.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/Demo.xcconfig b/Demo/Demo.xcconfig index 5b2c3bb..6bb620e 100644 --- a/Demo/Demo.xcconfig +++ b/Demo/Demo.xcconfig @@ -1,5 +1,5 @@ // Version information -MARKETING_VERSION = 3.0.1 +MARKETING_VERSION = 3.0.2 // Deployment targets IPHONEOS_DEPLOYMENT_TARGET = 9.0 diff --git a/Package.swift b/Package.swift index 13c62e6..ac93968 100644 --- a/Package.swift +++ b/Package.swift @@ -3,7 +3,7 @@ import PackageDescription struct ProjectSettings { - static let marketingVersion: String = "3.0.1" + static let marketingVersion: String = "3.0.2" } let package = Package( From 93b412775f4628a547c4fa3d5f8e32f6aa4a5307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20De=CC=81fago?= Date: Tue, 24 Nov 2020 12:24:04 +0100 Subject: [PATCH 2/3] Fix badge --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index f2061e3..30a8c59 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ [![SRG Content Protection logo](README-images/logo.png)](https://github.com/SRGSSR/srgcontentprotection-apple) -[![GitHub releases](https://img.shields.io/github/v/release/SRGSSR/srgcontentprotection-fake-apple)](https://github.com/SRGSSR/srgcontentprotection-apple/releases) [![platform](https://img.shields.io/badge/platfom-ios%20%7C%20tvos-blue)](https://github.com/SRGSSR/srgcontentprotection-apple) [![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager) [![GitHub license](https://img.shields.io/badge/license-(c)%20SRG%20SSR-lightgrey)](https://github.com/SRGSSR/srgcontentprotection-apple/blob/master/LICENSE) +[![GitHub releases](https://img.shields.io/github/v/release/SRGSSR/srgcontentprotection-apple)](https://github.com/SRGSSR/srgcontentprotection-apple/releases) [![platform](https://img.shields.io/badge/platfom-ios%20%7C%20tvos-blue)](https://github.com/SRGSSR/srgcontentprotection-apple) [![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager) [![GitHub license](https://img.shields.io/badge/license-(c)%20SRG%20SSR-lightgrey)](https://github.com/SRGSSR/srgcontentprotection-apple/blob/master/LICENSE) ## About From 96832a98d005fcea8c6bf3315517c468492d1379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20De=CC=81fago?= Date: Fri, 11 Dec 2020 11:17:33 +0100 Subject: [PATCH 3/3] Remove assertions in release builds --- Package.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index ac93968..e08b037 100644 --- a/Package.swift +++ b/Package.swift @@ -31,7 +31,8 @@ let package = Package( .process("Resources") ], cSettings: [ - .define("MARKETING_VERSION", to: "\"\(ProjectSettings.marketingVersion)\"") + .define("MARKETING_VERSION", to: "\"\(ProjectSettings.marketingVersion)\""), + .define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release)) ] ), .testTarget(