45 lines
1.3 KiB
Ruby
45 lines
1.3 KiB
Ruby
# Uncomment the next line to define a global platform for your project
|
|
platform :ios, '15.0'
|
|
|
|
target 'XSeri' do
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
use_frameworks!
|
|
|
|
# Pods for XSeri
|
|
pod 'SnapKit'
|
|
pod 'Kingfisher'
|
|
pod 'Moya'
|
|
pod 'SmartCodable', '5.0.15'
|
|
pod 'ESTabBarController-swift'
|
|
pod 'JXSegmentedView'
|
|
pod 'collection-view-layouts/TagsLayout'
|
|
pod 'FSPagerView'
|
|
pod 'YYCategories'
|
|
pod 'YYText'
|
|
pod 'JXPlayer'
|
|
pod 'LYEmptyView'
|
|
pod 'FDFullscreenPopGesture'
|
|
pod 'SVProgressHUD'
|
|
pod 'Toast'
|
|
pod 'MJRefresh'
|
|
pod 'HWPanModal'
|
|
pod 'ZLPhotoBrowser'
|
|
pod 'JXIAPManager', :git => 'https://git.qinjiu8.com/zengjx/JXIAPManager.git', :tag => '0.0.3'
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
# 统一设置部署版本
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
|
|
|
|
# 移除可能导致模拟器运行报错的排除架构设置,让 Xcode 自动处理
|
|
config.build_settings.delete('EXCLUDED_ARCHS[sdk=iphonesimulator*]')
|
|
config.build_settings.delete('EXCLUDED_ARCHITECTURES')
|
|
|
|
# 禁用 Bitcode (现代项目通常不需要)
|
|
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
|
end
|
|
end
|
|
end
|
|
end
|