Podfile 1.89 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 'FWDebug', :configurations => ['Debug']

  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