57 lines
1.4 KiB
Ruby
57 lines
1.4 KiB
Ruby
use_frameworks!
|
|
|
|
platform :ios, '14.0'
|
|
|
|
post_install do |installer|
|
|
installer.generated_projects.each do |project|
|
|
project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
|
|
end
|
|
end
|
|
end
|
|
|
|
# 修复 libarclite 错误:确保所有 Pod 使用正确的部署目标
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
|
|
end
|
|
end
|
|
end
|
|
|
|
##外部仓库地址
|
|
def exterior_pods
|
|
pod 'SellyCloudSDK', :path => './SubModules/SellyCloudSDK'
|
|
end
|
|
|
|
|
|
## 内外仓库地址
|
|
def inner_pods
|
|
pod 'SellyCloudSDK', :path => '../../SellyCloudSDK'
|
|
end
|
|
|
|
|
|
target 'SellyCloudSDK_Example' do
|
|
exterior_pods
|
|
pod 'YYModel'
|
|
pod 'Masonry'
|
|
pod 'FUCommonUIComponent', :path => './SubModules/FUCommonUIComponent'
|
|
pod 'FUBeautyComponent', :path => './SubModules/FUBeautyComponent'
|
|
pod 'FURenderKit', :path => './SubModules/FURenderKit'
|
|
pod 'MBProgressHUD', '~> 1.2.0'
|
|
pod 'SSZipArchive'
|
|
pod 'SDWebImage', '~> 5.0'
|
|
# pod 'CocoaLumberjack'
|
|
# pod "IJKMediaFramework", :podspec => 'https://github.com/debugly/ijkplayer/releases/download/k0.8.9/IJKMediaFramework.spec.json'
|
|
|
|
target 'SellyCloudSDK_Tests' do
|
|
inherit! :search_paths
|
|
|
|
pod 'FBSnapshotTestCase'
|
|
end
|
|
end
|
|
|
|
target 'ScreenShareUploader' do
|
|
exterior_pods
|
|
end
|