Skip to content

Commit be278e4

Browse files
committed
Update podspec file
1 parent d4fc44b commit be278e4

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

InflectorKit.podspec

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,36 @@
11
Pod::Spec.new do |s|
22
s.name = 'InflectorKit'
33
s.version = '0.0.1'
4-
s.license = 'MIT'
5-
s.summary = 'Efficiently Singularize and Pluralize Strings.'
4+
s.license = { type: 'MIT', file: 'LICENSE' }
5+
s.summary = 'Get the singular and plural forms of English words.'
66
s.homepage = 'https://github.com/mattt/InflectorKit'
77
s.social_media_url = 'https://twitter.com/mattt'
88
s.authors = { 'Mattt' => '[email protected]' }
9-
s.source = { :git => 'https://github.com/mattt/InflectorKit.git', :tag => '0.0.1' }
10-
s.source_files = 'Sources/InflectorKit'
9+
s.source = { git: 'https://github.com/mattt/InflectorKit.git', tag: "#{s.version}" }
10+
s.source_files = 'Sources/**/*.{swift,h,m}'
11+
s.public_header_files = [
12+
'Sources/InflectorKit/include/InflectorKit.h',
13+
'Sources/InflectorKit/include/NSString+InflectorKit.h',
14+
'Sources/InflectorKit/include/TTTStringInflector.h'
15+
]
1116
s.requires_arc = true
17+
s.framework = "Foundation"
18+
s.pod_target_xcconfig = {
19+
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
20+
'DEFINES_MODULE' => 'YES',
21+
'ENABLE_BITCODE' => 'NO',
22+
'ENABLE_TESTING_SEARCH_PATHS' => 'YES',
23+
'OTHER_LDFLAGS' => '$(inherited) -Xlinker -no_application_extension',
24+
}
25+
26+
s.ios.deployment_target = "9.0"
27+
s.osx.deployment_target = "10.10"
28+
s.tvos.deployment_target = '9.0'
29+
30+
s.cocoapods_version = '>= 1.4.0'
31+
if s.respond_to?(:swift_versions) then
32+
s.swift_versions = ['5.0']
33+
else
34+
s.swift_version = '5.0'
35+
end
1236
end

0 commit comments

Comments
 (0)