-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathBatteryView.podspec
35 lines (25 loc) · 1.04 KB
/
BatteryView.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
Pod::Spec.new do |s|
s.name = "BatteryView"
s.version = "1.4.4"
s.summary = "Simple battery shaped UIView."
s.description = <<-DESC
Usage:
```swift
let batteryView = BatteryView(frame: smallRect)
batteryView.level = 42 // anywhere in 0...100
```
DESC
s.homepage = "https://github.com/yonat/BatteryView"
s.screenshots = "https://raw.githubusercontent.com/yonat/BatteryView/master/Screenshots/Battery.png"
s.license = { :type => "MIT", :file => "LICENSE.txt" }
s.author = { "Yonat Sharon" => "[email protected]" }
s.swift_version = '4.2'
s.swift_versions = ['4.2', '5.0']
s.platform = :ios, "11.0"
s.requires_arc = true
s.weak_framework = 'SwiftUI'
s.source = { :git => "https://github.com/yonat/BatteryView.git", :tag => s.version }
s.source_files = "Sources/*"
s.resource_bundles = {s.name => ['Sources/PrivacyInfo.xcprivacy']}
s.pod_target_xcconfig = { 'LD_RUNPATH_SEARCH_PATHS' => '$(FRAMEWORK_SEARCH_PATHS)' } # fix Interface Builder render error
end