Podfile 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # 下面两行是指明依赖库的来源地址
  2. # CocoaPods官方spec仓库
  3. source 'https://github.com/CocoaPods/Specs.git'
  4. # 清华源
  5. #source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
  6. # Private Speces
  7. source 'https://github.com/ScareCrowInMountain/RQPrivateSpec.git'
  8. # 说明平台是ios,版本是11.0
  9. platform:ios,'11.0'
  10. # 忽略引入库的所有警告(强迫症者的福音啊)
  11. inhibit_all_warnings!
  12. target 'SDJK' do
  13. # AD
  14. pod 'ADSuyiSDK', '~> 3.7.0.12221' # 主SDK # 必选
  15. # pod 'ADSuyiLocationManagerGPS' # 可选定位库
  16. pod 'ADSuyiSDK/ADSuyiSDKPlatforms/bu'
  17. pod 'ADSuyiSDK/ADSuyiSDKPlatforms/gdt'
  18. pod 'ADSuyiSDK/ADSuyiSDKPlatforms/ks'
  19. pod 'ADSuyiSDK/ADSuyiSDKPlatforms/tianmu'
  20. # CocoaPods
  21. pod 'AFNetworking' # 网络请求
  22. pod 'Bugly' # 奔溃错误收集
  23. pod 'CGXVerticalMenuView-OC' # 分类菜单
  24. pod 'CocoaSecurity' # 加密
  25. pod 'Colours' # 颜色分类
  26. # pod 'CWLateralSlide' # 侧面弹窗
  27. pod 'DACircularProgress' # 环形进度条
  28. pod 'DOUAudioStreamer' # 流音乐播放器
  29. pod 'DouyinOpenSDK', '~> 4.0.0' # 抖音
  30. pod 'FDFullscreenPopGesture' # 侧滑手势
  31. pod 'FLAnimatedImage' # 动态图
  32. pod 'FMDB' # 数据库
  33. pod 'GKPhotoBrowser'
  34. pod 'GTSDK' # 推送(个推)
  35. pod 'HWPanModal' # 弹出方式
  36. pod 'IDMPhotoBrowser' # 图片浏览器
  37. pod 'IQKeyboardManager' # 键盘管理
  38. pod 'JDStatusBarNotification' # 状态栏通知
  39. # pod 'JMRoundedCorner' # 圆角
  40. pod 'JPFPSStatus' # FPS检测
  41. pod 'JSONModel' # 字典转模型
  42. pod 'JXCategoryView'
  43. pod 'JXPagingView/Pager', '~> 2.1.1'
  44. pod 'KTVHTTPCache' # 缓存
  45. pod 'LEEAlert'
  46. pod 'LookinServer', :configurations => ['Debug'] # UI调试
  47. pod 'Masonry' # AutoLayout
  48. pod 'MBProgressHUD'
  49. pod 'MJRefresh' # 刷新
  50. pod 'MJExtension' # 字典转模型 该项目使用YYModel
  51. pod 'OpenSSL-Universal'
  52. pod 'pop' # pop动画
  53. pod 'QMUIKit'
  54. pod 'ReactiveObjC' # 消息链
  55. pod 'RealReachability' # 网络状态
  56. pod 'SAMKeychain' # 钥匙串存储
  57. pod 'SCLAlertView-Objective-C' # 第三方弹窗
  58. pod 'SDCycleScrollView' # 轮播图
  59. # pod 'SDWebImage' # 图片加载
  60. # pod 'SDWebImageWebPCoder' # 网络图片加载
  61. # pod 'SGQRCode' # 二维码
  62. # pod 'SVProgressHUD' # HUD
  63. pod 'TZImagePickerController' # 图片选择器
  64. pod 'WebViewJavascriptBridge' # JS交互
  65. pod 'WechatOpenSDK' # 微信
  66. # pod 'YNPageViewController' # 第三方嵌套
  67. # YYKit
  68. pod 'YYModel' # 字典转模型
  69. pod 'YYText' # 富文本
  70. pod 'YYWebImage' # 高性能的 iOS 异步图像加载框架。
  71. pod 'YYImage/WebP'
  72. pod 'ZFPlayer' # 视频播放器
  73. pod 'ZFPlayer/ControlView'
  74. pod 'ZFPlayer/AVPlayer'
  75. pod 'ZFPlayer/ijkplayer'
  76. pod 'ZYCornerRadius' # View的圆角处理 防止离屏渲染
  77. # 导入libwebp失败的话要去本地仓库修改 /Users/zhangrong/.cocoapods/repos/cocoapods/Specs/1/9/2
  78. # "source": {
  79. # "git": "https://chromium.googlesource.com/webm/libwebp",
  80. # "tag": "v1.1.0"
  81. # }
  82. # 把git的值修改为https://github.com/webmproject/libwebp.git
  83. end
  84. # 设置每个第三方库的支持版本在iOS11.0以上
  85. post_install do |installer|
  86. installer.pods_project.targets.each do |target|
  87. target.build_configurations.each do |config|
  88. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
  89. end
  90. end
  91. end
  92. target 'NotificationService' do
  93. platform:ios,'11.0'
  94. pod 'GTExtensionSDK'
  95. end
  96. #删除WebViewJavascriptBridge中的WebViewJavascriptBridge.h和WebViewJavascriptBridge.m文件
  97. pre_install do |installer|
  98. dir_web = File.join(installer.sandbox.pod_dir('WebViewJavascriptBridge'), 'WebViewJavascriptBridge')
  99. Dir.foreach(dir_web) {|x|
  100. real_path = File.join(dir_web, x)
  101. if (!File.directory?(real_path) && File.exists?(real_path))
  102. if(x == 'WebViewJavascriptBridge.h' || x == 'WebViewJavascriptBridge.m')
  103. File.delete(real_path)
  104. end
  105. end
  106. }
  107. end