forked from CocoaPods/pod-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNAME.podspec
34 lines (30 loc) · 1.34 KB
/
NAME.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
Pod::Spec.new do |s|
s.name = '${POD_NAME}'
s.version = '0.1.0'
s.summary = 'Module named ${POD_NAME} for use in Workable iOS.'
s.homepage = 'https://github.com/Workable/'
s.author = { '${USER_NAME}' => '${USER_EMAIL}' }
s.source = { :git => 'https://github.com/Workable/workable-ios.git', :tag => s.version.to_s }
s.static_framework = true
s.ios.deployment_target = '11.0'
test_sources = '${POD_NAME}/Tests/**/*'
s.source_files = '${POD_NAME}/Sources/**/*'
s.resources = ['${POD_NAME}/Resources/**/*.{xib,storyboard,xcassets,json,png,jpg,jpeg}']
s.script_phase = {
:name => 'R Swift',
:script => '"$PODS_ROOT/R.swift/rswift" generate --accessLevel public "$PODS_TARGET_SRCROOT/${POD_NAME}/Sources/Sources/Autogenerated/R.generated.swift"',
:input_files => ['$TEMP_DIR/rswift-lastrun'],
:output_files => ['$PODS_TARGET_SRCROOT/${POD_NAME}/Sources/Sources/Autogenerated/R.generated.swift'],
:execution_position => :before_compile
}
s.script_phase = nil
s.dependency 'R.swift'
s.test_spec 'Tests' do |test_spec|
test_spec.ios.deployment_target = '11.0'
test_spec.source_files = test_sources
test_spec.requires_app_host = true
test_spec.dependency 'Quick'
test_spec.dependency 'Nimble'
test_spec.dependency 'Nimble-Snapshots'
end
end