Skip to content

Commit

Permalink
Merge pull request #62 from Automattic/podspec-std
Browse files Browse the repository at this point in the history
[Tooling] Standardize podspec format
  • Loading branch information
AliSoftware authored Mar 29, 2021
2 parents c36cd22 + d190cb9 commit 13a1944
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0
5.0
27 changes: 16 additions & 11 deletions Gridicons.podspec
Original file line number Diff line number Diff line change
@@ -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" => "[email protected]" }
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" => "[email protected]" }
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
4 changes: 2 additions & 2 deletions Gridicons/Gridicons.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 13a1944

Please sign in to comment.