-
Notifications
You must be signed in to change notification settings - Fork 28
/
ListableUI.podspec
45 lines (32 loc) · 1.38 KB
/
ListableUI.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
39
40
41
42
43
44
45
require_relative 'version'
Pod::Spec.new do |s|
s.name = 'ListableUI'
s.version = LISTABLE_VERSION
s.summary = 'Declarative list views for iOS apps that deploy back to iOS 14.0.'
s.homepage = 'https://github.com/kyleve/Listable'
s.license = 'Apache License, Version 2.0'
s.author = { 'Kyle' => '[email protected]' }
s.source = { git: 'https://github.com/kyleve/Listable.git', tag: "#{s.version}" }
s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET
s.swift_versions = [LISTABLE_SWIFT_VERSION]
s.source_files = 'ListableUI/Sources/**/*.{swift,h,m}'
s.resource_bundle = { 'ListableUIResources' => 'ListableUI/Resources/**/*' }
s.weak_framework = 'SwiftUI'
s.pod_target_xcconfig = {
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
}
unless ENV['LISTABLE_PUBLISHING']
# These tests can only be run locally, because they depend on local pods.
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'ListableUI/Tests/**/*.{swift}'
test_spec.ios.resource_bundle = { 'ListableUITestsResources' => 'ListableUI/Tests/Resources/**/*.*' }
test_spec.framework = 'XCTest'
test_spec.requires_app_host = true
test_spec.dependency 'EnglishDictionary'
test_spec.dependency 'Snapshot'
test_spec.pod_target_xcconfig = {
'APPLICATION_EXTENSION_API_ONLY' => 'NO',
}
end
end
end