-
Notifications
You must be signed in to change notification settings - Fork 50
/
SCNRecorder.podspec
42 lines (36 loc) · 1.9 KB
/
SCNRecorder.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
Pod::Spec.new do |s|
s.name = 'SCNRecorder'
s.version = '2.8.1'
s.summary = 'A lags-free recorder of ARKit and SceneKit for iOS in Swift'
s.homepage = 'https://github.com/gorastudio/SCNRecorder'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'Vladislav Grigoryev' => '[email protected]' }
s.platform = :ios, '12.0'
s.source = { :git => 'https://github.com/gorastudio-ceo/SCNRecorder.git', :tag => s.version.to_s }
s.module_name = 'SCNRecorder'
s.swift_version = '5.0'
s.source_files = 'Sources/**/*.{swift}'
s.dependency 'MTDMulticastDelegate'
s.app_spec 'Example' do |app_spec|
app_spec.name = "Example"
app_spec.platform = :ios, '13.0'
app_spec.source_files = 'Example/Source/**/*.{m,swift,metal}', 'Example/Source/Content/**/*.{h}'
app_spec.preserve_paths = 'Example/Source/Example-Bridging-Header.h'
app_spec.resources = 'Example/Source/Resources/**/*.{scnassets,xcassets}'
app_spec.pod_target_xcconfig = {
"SWIFT_OBJC_BRIDGING_HEADER" => "$(PODS_TARGET_SRCROOT)/Example/Source/Example-Bridging-Header.h"
}
app_spec.dependency 'SnapKit', '~> 5.0.0'
end
s.test_spec 'Tests' do |test_spec|
test_spec.platform = :ios, '13.0'
test_spec.requires_app_host = true
test_spec.app_host_name = 'SCNRecorder/Example'
test_spec.source_files = 'SCNRecorderTests/**/*.{m,swift,metal}', 'SCNRecorderTests/Metal/**/*.h'
test_spec.preserve_paths = 'SCNRecorderTests/SCNRecorderTests-Bridging-Header.h'
test_spec.pod_target_xcconfig = {
"SWIFT_OBJC_BRIDGING_HEADER" => "$(PODS_TARGET_SRCROOT)/SCNRecorderTests/SCNRecorderTests-Bridging-Header.h"
}
test_spec.dependency 'SCNRecorder/Example'
end
end