71 lines
1.6 KiB
Ruby
71 lines
1.6 KiB
Ruby
# Uncomment the next line to define a global platform for your project
|
|
# platform :ios, '9.0'
|
|
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
|
|
|
|
target 'yinmeng-ios' do
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
use_frameworks!
|
|
|
|
|
|
# Pods for yinmeng-ios
|
|
pod 'AFNetworking'
|
|
pod 'YYText'
|
|
pod 'Masonry'
|
|
pod 'MBProgressHUD'
|
|
pod 'ReactiveObjC'
|
|
pod 'FFPopup'
|
|
pod 'TZImagePickerController'
|
|
|
|
#模型转化
|
|
pod 'MJExtension'
|
|
#图片加载
|
|
pod 'SDWebImage'
|
|
pod 'FLAnimatedImage'
|
|
pod 'SDWebImageFLPlugin' # 对FLAnimatedImage和SDWebImage的桥接
|
|
#上传图片
|
|
pod 'Qiniu'
|
|
|
|
#持久化存储
|
|
pod 'SSKeychain'
|
|
pod 'Base64'
|
|
#云信
|
|
pod 'NIMSDK_LITE', '~> 8.9.0'
|
|
|
|
#TRTC
|
|
pod 'TXLiteAVSDK_TRTC', '~> 10.3.12271'
|
|
#下拉刷新控件
|
|
pod 'MJRefresh'
|
|
#pop动画
|
|
pod 'pop'
|
|
|
|
|
|
#vap礼物动画
|
|
|
|
pod 'IQKeyboardManager', '~> 6.5.11'
|
|
#调试
|
|
pod 'SnapKit'
|
|
pod 'RxSwift'
|
|
pod 'RxCocoa'
|
|
pod 'RxDataSources'
|
|
pod 'Moya/RxSwift'
|
|
pod 'Moya-ObjectMapper/RxSwift'
|
|
pod 'CryptoSwift'
|
|
pod 'R.swift'
|
|
pod 'SwiftyJSON'
|
|
end
|
|
|
|
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'] = '11.0'
|
|
xcconfig_path = config.base_configuration_reference.real_path
|
|
xcconfig = File.read(xcconfig_path)
|
|
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
|
|
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|