-
Notifications
You must be signed in to change notification settings - Fork 1
/
Podfile
42 lines (36 loc) · 1.24 KB
/
Podfile
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
# Uncomment the next line to define a global platform for your project
use_frameworks!
inhibit_all_warnings!
workspace 'PlayerDNAPlugin'
def podCommon
pod 'StreamrootSDK'
end
target 'AVPlayerDNAPlugin-iOS' do
platform :ios, '10.2'
podCommon
end
target 'AVPlayerDNAPlugin-tvOS' do
platform :tvos, '10.2'
podCommon
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
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'] = "YES"
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
if config.name == "Debug"
cflags = config.build_settings['OTHER_CFLAGS'] || ['$(inherited)']
cflags << '-fembed-bitcode-marker'
config.build_settings['BITCODE_GENERATION_MODE'] = "marker"
else
cflags = config.build_settings['OTHER_CFLAGS'] || ['$(inherited)']
cflags << '-fembed-bitcode'
config.build_settings['BITCODE_GENERATION_MODE'] = "bitcode"
end
config.build_settings['OTHER_CFLAGS'] = cflags
end
end
end