-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathGravatar.podspec
35 lines (27 loc) · 1.11 KB
/
Gravatar.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# frozen_string_literal: true
require_relative 'version'
Pod::Spec.new do |s|
s.name = 'Gravatar'
s.version = Gravatar::VERSION
s.summary = 'A convient library for accessing the Gravatar API'
s.homepage = 'https://gravatar.com'
s.license = { type: 'Mozilla Public License v2', file: 'LICENSE.md' }
s.authors = 'Automattic, Inc.'
s.source = {
git: 'https://github.com/Automattic/Gravatar-SDK-iOS.git',
tag: s.version.to_s
}
s.documentation_url = 'https://swiftpackageindex.com/Automattic/Gravatar-SDK-iOS/documentation/gravatar'
s.swift_versions = Gravatar::SWIFT_VERSIONS
ios_deployment_target = '15.0'
s.ios.deployment_target = ios_deployment_target
s.source_files = 'Sources/Gravatar/**/*.swift'
s.resource_bundles = {
'Gravatar' => ['Sources/Gravatar/Resources/*.plist']
}
# Using the `package` access level for types requires us to pass `-package-name`
# as a swift flag, with the same name for each module/pod
s.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-Xfrontend -package-name -Xfrontend gravatar_sdk_ios'
}
end