Podfile 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. source 'https://github.com/CocoaPods/Specs.git'
  2. # source 'https://git.coding.net/hging/Specs.git'
  3. platform :ios, '10.0'
  4. # swift50里面的库已经支持swift5了 其他暂时先用4.1版本
  5. #swift50 = ['BSImagePicker','Charts','Eureka', 'GradientCircularProgress', 'HandyJSON', 'SwiftyTimer', 'ReactiveSwift', 'ReactiveCocoa']
  6. #
  7. #post_install do |installer|
  8. # installer.pods_project.targets.each do |target|
  9. # swift_version = '4.1'
  10. # if swift50.include?(target.name)
  11. # print "set pod #{target.name} swift version to 5.0\n"
  12. # swift_version = '5.0'
  13. # end
  14. # target.build_configurations.each do |config|
  15. # config.build_settings['SWIFT_VERSION'] = swift_version
  16. # config.build_settings['ENABLE_BITCODE'] = 'NO'
  17. # end
  18. # end
  19. #end
  20. post_install do |installer|
  21. installer.pods_project.targets.each do |target|
  22. target.build_configurations.each do |config|
  23. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
  24. end
  25. end
  26. end
  27. target 'O2Platform' do
  28. use_frameworks!
  29. # Pods for O2OA
  30. pod 'FMDB', '~> 2.6.2'
  31. # 日志框架
  32. pod 'CocoaLumberjack/Swift', '~> 3.5'
  33. # 国人写的 HUD https://github.com/Harley-xk/Chrysan
  34. pod 'Chrysan'
  35. # Promise
  36. pod 'PromisesSwift', '~> 1.2'
  37. # 下拉刷新
  38. pod 'MJRefresh'
  39. # 键盘管理
  40. pod 'IQKeyboardManagerSwift', '~> 6.5.0'
  41. #网络请求
  42. pod 'Alamofire', '~> 5.0'
  43. # pod 'AlamofireImage', '~> 3.3'
  44. pod 'AlamofireNetworkActivityIndicator', '~> 3.0'
  45. # pod 'AlamofireObjectMapper', '~> 6.2.0'
  46. pod 'AlamofireObjectMapper', :path => './AlamofireObjectMapper'
  47. pod 'Moya', '~> 14.0'
  48. pod 'Moya/RxSwift', '~> 14.0'
  49. # UserDefaults加强
  50. pod 'SwiftyUserDefaults', '~>3.0'
  51. # json
  52. pod 'HandyJSON', '~> 5.0.2-beta'
  53. # pod 'SwiftyJSON', '~>3.1'
  54. # reactive
  55. pod 'ReactiveSwift', '~> 6.1'
  56. pod 'ReactiveCocoa', '~> 10.1'
  57. # Bugly 异常上报管理
  58. pod 'Bugly'
  59. pod 'SDWebImage', '~>4.0'
  60. pod 'BSImagePicker', '~> 3.1.0'
  61. pod 'Eureka', '~> 5.3.0'
  62. pod 'SwiftyTimer'
  63. pod 'Charts'
  64. pod 'ImageSlideshow', '~> 1.9'
  65. pod 'ImageSlideshow/Alamofire'
  66. pod 'MBProgressHUD', '~> 1.0.0'
  67. pod 'SnapKit', '~> 4.0'
  68. pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :branch => 'master'
  69. # pod 'YHPopupView'
  70. # pod 'YHPhotoKit'
  71. pod 'RxCocoa', '~> 5.1.1'
  72. #表格数据源为空时显示
  73. pod 'EmptyDataSet-Swift', '~> 5.0.0'
  74. #segmentedControl
  75. pod 'BetterSegmentedControl', '~> 1.2'
  76. pod 'FSCalendar'
  77. # pod 'JZCalendarWeekView', '~> 0.4'
  78. # 日历控件
  79. pod 'JTCalendar', '~> 2.0'
  80. #百度地图SDK
  81. pod 'BaiduMapKit'
  82. #百度定位
  83. pod 'BMKLocationKit'
  84. # 极光
  85. pod 'JCore', '2.1.2'
  86. pod 'JPush', '3.2.4'
  87. pod 'JMessage'
  88. # websocket
  89. pod 'Starscream', '~> 4.0.3'
  90. end