From 1629f8eb926e72adb4e836590177613327d4bb0d Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 26 Mar 2021 16:16:21 +0100 Subject: [PATCH 1/2] Propagate proper Swift Version value everywhere --- .swift-version | 2 +- Gridicons/Gridicons.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.swift-version b/.swift-version index 5186d07..819e07a 100644 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -4.0 +5.0 diff --git a/Gridicons/Gridicons.xcodeproj/project.pbxproj b/Gridicons/Gridicons.xcodeproj/project.pbxproj index f0257d3..0a21dd5 100644 --- a/Gridicons/Gridicons.xcodeproj/project.pbxproj +++ b/Gridicons/Gridicons.xcodeproj/project.pbxproj @@ -288,7 +288,7 @@ ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -343,7 +343,7 @@ MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; From d190cb9262d163544f4cb6c61ee80c853d740a68 Mon Sep 17 00:00:00 2001 From: Olivier Halligon Date: Fri, 26 Mar 2021 16:18:14 +0100 Subject: [PATCH 2/2] Fix author email --- Gridicons.podspec | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/Gridicons.podspec b/Gridicons.podspec index c368d83..44d4d7c 100644 --- a/Gridicons.podspec +++ b/Gridicons.podspec @@ -1,21 +1,26 @@ Pod::Spec.new do |s| - s.name = "Gridicons" - s.version = "1.1.0" - s.summary = "Gridicons is a tiny framework which generates Gridicon images at any resolution." + s.name = "Gridicons" + s.version = "1.1.0" - s.homepage = "http://apps.wordpress.com" - s.license = { :type => "GPLv2" } - s.author = { "Automattic" => "mobile@automattic.com" } - s.social_media_url = "http://twitter.com/WordPressiOS" + s.summary = "Gridicons is a tiny framework which generates Gridicon images at any resolution." + s.description = <<-DESC + This framework contains a pack of icons – mainly ones used in the WordPress apps – + that can be reused and scaled at any resolution. + DESC - s.platform = :ios, "11.0" - s.source = { :git => "https://github.com/Automattic/Gridicons-iOS.git", :tag => s.version.to_s } + s.homepage = "https://github.com/Automattic/Gridicons-iOS" + s.license = { :type => "GPLv2", :file => "LICENSE.md" } + s.author = { "Automattic" => "mobile@automattic.com" } + s.social_media_url = "https://twitter.com/automattic" - s.source_files = "Gridicons/Gridicons/**/*.swift" + s.platform = :ios, "11.0" + s.swift_version = '5.0' + + s.source = { :git => "https://github.com/Automattic/Gridicons-iOS.git", :tag => s.version.to_s } + s.source_files = "Gridicons/Gridicons/**/*.swift" s.resource_bundles = { 'Gridicons': [ 'Gridicons/Gridicons/*.{xcassets}', ] } - s.requires_arc = true end