Repository navigation
Expand file tree
/
Copy pathPodfile
More file actions
93 lines (74 loc) · 2.29 KB
/
Copy pathPodfile
File metadata and controls
93 lines (74 loc) · 2.29 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Import config
require './config.rb'
puts "SDK version resolved to #{SDK_VERSION}"
use_frameworks!
workspace 'avplugin.xcworkspace'
abstract_target 'Plugin' do
project 'AVPlugin/AVPlugin'
abstract_target 'Mesh' do
pod MESH_SDK_POD_NAME, SDK_VERSION
target 'LumenAVMeshPlugin' do
platform :ios, IOS_TARGET_VERSION
end
target 'LumenAVMeshPluginTV' do
platform :tvos, TVOS_TARGET_VERSION
end
end
abstract_target 'Orchestrator' do
pod ORCHESTRATOR_SDK_POD_NAME, SDK_VERSION
target 'LumenAVOrchestratorPlugin' do
platform :ios, IOS_TARGET_VERSION
end
target 'LumenAVOrchestratorPluginTV' do
platform :tvos, TVOS_TARGET_VERSION
end
end
abstract_target 'PluginTests' do
target 'LumenAVMeshPluginTests' do
platform :ios, IOS_TARGET_VERSION
end
target 'LumenAVMeshPluginTVTests' do
platform :tvos, TVOS_TARGET_VERSION
end
target 'LumenAVOrchestratorPluginTests' do
platform :ios, IOS_TARGET_VERSION
end
target 'LumenAVOrchestratorPluginTVTests' do
platform :tvos, TVOS_TARGET_VERSION
end
end
end
abstract_target 'DemoApp' do
project 'AVPlayerDemo/AVPlayerDemo'
abstract_target 'Mesh' do
pod MESH_SDK_POD_NAME, SDK_VERSION
target 'AVPlayerMeshDemo' do
platform :ios, IOS_TARGET_VERSION
end
target 'AVPlayerMeshDemoTV' do
platform :tvos, TVOS_TARGET_VERSION
end
end
abstract_target 'Orchestrator' do
pod ORCHESTRATOR_SDK_POD_NAME, SDK_VERSION
target 'AVPlayerOrchestratorDemo' do
platform :ios, IOS_TARGET_VERSION
end
target 'AVPlayerOrchestratorDemoTV' do
platform :tvos, TVOS_TARGET_VERSION
end
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = IOS_TARGET_VERSION
config.build_settings['TVOS_DEPLOYMENT_TARGET'] = TVOS_TARGET_VERSION
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
config.build_settings['ENABLE_BITCODE'] = "NO"
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
end