-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSteamReaderExample.podspec
More file actions
88 lines (78 loc) · 2.71 KB
/
Copy pathSteamReaderExample.podspec
File metadata and controls
88 lines (78 loc) · 2.71 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Pod::Spec.new do |s|
# Library
#required
s.name = 'SteamReader'
#required
s.version = '0.1.0'
s.cocoapods_version = '1.0.0'
# use s.authors to add more authors
#required
s.author = { 'Kyle Roberts' => '123kyle.roberts@gmail.com' }
s.social_media_url = "https://twitter.com/TheKyKy123"
# use :type, :file, or :text for custom license
#required
s.license = { :type => 'MIT', :file => 'LICENSE' }
#required
s.homepage = 'https://github.com/123kyky/SteamReader'
# can use CocoaPods git keys here
#required
s.source = { :git => 'https://github.com/123kyky/SteamReader.git', :tag => s.version.to_s }
#required
s.summary = 'A simple app to browse and subscribe to Steam game news.'
s.description = <<-DESC
A simple app to browse and subscribe to Steam game news.
A simple app to browse and subscribe to Steam game news.
A simple app to browse and subscribe to Steam game news.
DESC
s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.documentation_url = 'https://github.com/123kyky/SteamReader'
# path to bash script
s.prepare_command = <<-CMD
# write code here
CMD
s.deprecated = false
s.deprecated_in_favor_of = 'SteamReader2'
# Platform
s.platform = :ios, '9.0'
s.deployment_target = '9.0'
# Build Settings
s.dependency = 'Pod', '~> x.x'
s.ios.requires_arc = true
s.ios.frameworks = 'FrameWork'
s.ios.weak_framework = 'FrameWork'
s.ios.libraries = 'library'
s.ios.compiler_flags = '-BOOLflag=true', '-otherFLAG'
s.ios.pod_target_xcconfig = { '-aFlag' => '-aValue' }
s.ios.user_target_xcconfig = { 'SteamReaderSubspec' => 'YES' }
s.ios.prefix_header_contents = 'import CoreData'
s.ios.prefix_header_file = 'path/to/prefix.pch'
s.module_name = 'module_name'
s.ios.header_dir = 'path/to/put/headers'
s.ios.header_mappings_dir = 'path/to/headers'
s.header_mappings_dir = 'path/to/headers'
# Files
s.ios.source_files = 'SteamReader/**/*.swift'
s.ios.public_header_files = 'SteamReader/pub/*.[h,m]'
s.ios.private_header_files = 'SteamReader/pri/*.h'
s.ios.vendored_frameworks = 'path/to/framework.framework'
s.ios.vendored_libraries = 'path/to/library.a'
s.ios.resource_bundles = { 'Assets' => 'path/to/assets/*.{png, jpg}' }
# use resources for multiple
s.ios.resources = {'path/to/resource'}
s.ios.exclude_files = 'path/to/excluded'
# use preserved_paths for multiple
s.ios.preserve_path = 'path/to/required'
s.ios.module_map = 'path/to/*.modulemap'
# Subspec
s.subspec 'CoreData' do |sub|
sub.source_files = 'SteamReader/CoreData'
end
s.subspec 'Network' do |sub|
sub.dependency 'SteamReader/CoreData'
sub.source_files = 'SteamReader/Network/*.swift'
sub.subspec 'NetworkAdmin' do |nested|
nested.source_files = 'SteamReader/Network/Admin/*.swift'
end
end
s.default_subspecs = 'CoreData'
end