39 lines
1.0 KiB
Ruby
39 lines
1.0 KiB
Ruby
# Uncomment the next line to define a global platform for your project
|
|
platform :ios, '13.0'
|
|
#source 'https://github.com/CocoaPods/Specs'
|
|
source 'https://cdn.cocoapods.org/'
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
|
|
end
|
|
end
|
|
end
|
|
|
|
target 'ShortPlay' do
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
use_frameworks!
|
|
|
|
pod 'Moya' #网络框架
|
|
pod 'SnapKit' #布局
|
|
pod 'SmartCodable' #数据解析
|
|
pod 'YYKit' #工具类
|
|
pod 'MJRefresh' #刷新控件
|
|
pod 'Toast' #吐司提示
|
|
pod 'ZFPlayer/AVPlayer' #播放器
|
|
pod 'KTVHTTPCache' #视频缓存
|
|
|
|
|
|
target 'ShortPlayTests' do
|
|
inherit! :search_paths
|
|
# Pods for testing
|
|
end
|
|
|
|
target 'ShortPlayUITests' do
|
|
# Pods for testing
|
|
end
|
|
|
|
end
|