Podfile 2.79 KB
# 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'
#source 'https://github.com/CocoaPods/Specs.git'
source 'https://cdn.cocoapods.org'

source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
source 'http://bj.gitlab.cnlive.com/DSIOSTeam/DSSpecRepos.git'
use_frameworks!

target 'metaCode' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for metaCode
  #网络请求基础库
  pod 'AFNetworking'
  #基础请求组件库
  pod 'CNLiveRequestBastKit'
  #键盘管理库
  pod 'IQKeyboardManagerSwift'
  #布局文件
  pod 'SnapKit'
  #刷新组件
  pod 'MJRefresh'
  #加载框
  pod 'MBProgressHUD'
  #空白占位
  pod 'EmptyDataSet-Swift'
  #模型转换工具
  pod 'HandyJSON'
  #图片视频选择器
  pod 'HXPHPicker'
  #七牛
  pod 'Qiniu'
  #加载GIF
  pod 'SwiftGifOrigin', '~> 1.7.0'
  #数据库存储
  #pod 'WCDB.swift'
  #占位按钮
  pod 'APButton'
  #分类滚动切换视图
  pod 'JXSegmentedView', :git => 'https://gitee.com/mirrors/JXSegmentedView.git'
  pod 'JXPagingView/Paging'
  #轮播图
  pod 'FSPagerView', '0.8.3'
  #pod 'SDCycleScrollView', '~> 1.82'
  
  #播放器
  pod 'ZFPlayer', :git => 'https://gitee.com/mirrors/ZFPlayer.git'
  pod 'ZFPlayer/ControlView', :git => 'https://gitee.com/mirrors/ZFPlayer.git'
  pod 'ZFPlayer/AVPlayer', :git => 'https://gitee.com/mirrors/ZFPlayer.git'
  pod 'ZFPlayer/ijkplayer', :git => 'https://gitee.com/mirrors/ZFPlayer.git'
  #分享
  pod 'CNLiveShareToolKit'
  #网家家输入组件
  pod 'CNLiveCustomUI/CNLiveContentToolTextView'
  #业务工具库
  pod 'CNLiveBusinessTools'
  
  #图片浏览器
  pod 'SKPhotoBrowser', :git => 'https://gitee.com/mirrors/SKPhotoBrowser.git'
  
  #视频播放器
  pod 'PLPlayerKit'
  #UI框架
#  pod 'QMUIKit'
   pod 'YYWebImage', :git => 'https://gitee.com/mirrors/YYWebImage.git'
   
   #依赖三方私有库,如果里面有.a的时候加上这个
   pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
   end
   

   


#  target 'metaCodeTests' do
#    inherit! :search_paths
#    # Pods for testing
#  end
#
#  target 'metaCodeUITests' do
#    # Pods for testing
#  end

end

#解决第三方最低版本过低,Xcode14.3 异常了arc文件 ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
#clang: error: linker command failed with exit code 1 (use -v to see invocation)

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
    end
  end
end