-
Notifications
You must be signed in to change notification settings - Fork 47
/
Podfile
43 lines (34 loc) · 1.17 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
42
43
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
workspace 'RedPlayerDemo'
def pods_dependency
pod "XYMediaFfmpeg", :path => "../Submodules/XYMediaFfmpeg"
#pod "RedPlayer", :path => "../../redplayercore"
end
def common_pods_all
pod 'Masonry'
end
target 'RedPlayerDemo' do
project 'RedPlayerDemo'
pods_dependency
common_pods_all
end
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS"] = "armv7 armv7s"
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS"] = "armv7 armv7s"
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "11.0"
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
end