-
Notifications
You must be signed in to change notification settings - Fork 93
/
waterwheel.podspec
38 lines (33 loc) · 1.15 KB
/
waterwheel.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
36
37
38
Pod::Spec.new do |s|
s.name = "waterwheel"
s.version = "4.3.4"
s.summary = "A framework for communicating to Drupal via iOS, macOS, watchOS, or tvOS."
s.homepage = "https://github.com/acquia/waterwheel-swift"
s.author = { "Kyle Browning" => "[email protected]"}
s.source = { :git => "https://github.com/acquia/waterwheel-swift.git", :tag => s.version }
s.source_files = 'Sources/**/**/*.swift'
s.requires_arc = true
pch_W = <<-EOS
#ifndef TARGET_OS_IOS
#define TARGET_OS_IOS TARGET_OS_IPHONE
#endif
#ifndef TARGET_OS_WATCH
#define TARGET_OS_WATCH 0
#endif
#ifndef TARGET_OS_TV
#define TARGET_OS_TV 0
#endif
EOS
s.prefix_header_contents = pch_W
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.osx.exclude_files = 'Sources/iOS'
s.watchos.exclude_files = 'Sources/iOS'
s.license = { :type => 'MPL 1.1/GPL 2.0', :file => "LICENSE" }
s.dependency 'Alamofire', '~> 4.0'
s.dependency 'ObjectMapper', '~> 2.0'
s.dependency 'SwiftyJSON', '3.1.0'
s.dependency 'SwiftyUserDefaults'
end