Podfile 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. source 'https://github.com/CocoaPods/Specs.git'
  2. platform :ios, '10.0'
  3. # swift50里面的库已经支持swift5了 其他暂时先用4.1版本
  4. swift50 = ['BSImagePicker','Charts','Eureka', 'GradientCircularProgress', 'HandyJSON', 'SwiftyTimer', 'ReactiveSwift', 'ReactiveCocoa']
  5. post_install do |installer|
  6. installer.pods_project.targets.each do |target|
  7. swift_version = '4.1'
  8. if swift50.include?(target.name)
  9. print "set pod #{target.name} swift version to 5.0\n"
  10. swift_version = '5.0'
  11. end
  12. target.build_configurations.each do |config|
  13. config.build_settings['SWIFT_VERSION'] = swift_version
  14. config.build_settings['ENABLE_BITCODE'] = 'NO'
  15. end
  16. end
  17. end
  18. target 'O2Platform' do
  19. use_frameworks!
  20. pod 'Alamofire', '~> 4.8'
  21. pod 'AlamofireImage', '~> 3.3'
  22. pod 'AlamofireNetworkActivityIndicator', '~> 2.0'
  23. pod 'AlamofireObjectMapper', '~> 5.1'
  24. pod 'SwiftyUserDefaults', '~>3.0'
  25. pod 'SwiftyJSON', '~>3.1'
  26. pod 'SDWebImage', '~>4.0'
  27. pod 'BWSwipeRevealCell', '~> 2.0'
  28. pod 'BSImagePicker'
  29. pod 'Eureka'
  30. pod 'SwiftyTimer'
  31. pod 'EZSwiftExtensions', :path => '/Users/fancy/ios/dependence/EZSwiftExtensions'
  32. #pod 'DZNEmptyDataSet'
  33. pod 'Charts'
  34. pod 'ImageSlideshow', '~> 1.5'
  35. pod 'ImageSlideshow/Alamofire'
  36. # pod 'swiftScan', '~> 1.1.2'
  37. pod 'JGProgressHUD'
  38. pod 'CocoaLumberjack/Swift'
  39. pod 'MBProgressHUD', '~> 1.0.0'
  40. pod 'SnapKit', '~> 4.0.0'
  41. pod 'PromisesSwift', '~> 1.0'
  42. pod 'Moya', '~> 13.0'
  43. pod 'Moya/RxSwift', '~> 13.0'
  44. pod 'ProgressHUDSwift', '~> 0.2'
  45. pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :branch => 'master'
  46. pod 'HandyJSON', '~> 5.0.0'
  47. pod 'ReactiveSwift', '~> 5.0'
  48. pod 'ReactiveCocoa', '~> 9.0'
  49. pod 'CYLTabBarController', '~> 1.17.4'
  50. pod 'YHPopupView'
  51. pod 'YHPhotoKit'
  52. pod 'FMDB', '~> 2.6.2'
  53. pod 'RxCocoa', '~> 4.0'
  54. pod 'PromiseKit', '~> 4.4'
  55. #表格数据源为空时显示
  56. pod 'EmptyDataSet-Swift', '~> 4.0.2'
  57. #segmentedControl
  58. pod 'BetterSegmentedControl', '~> 0.9'
  59. pod 'FSCalendar'
  60. pod 'JZCalendarWeekView', '~> 0.4'
  61. # 高斯模糊UIViewController
  62. pod 'MIBlurPopup'
  63. # 日历控件
  64. pod 'JTCalendar', '~> 2.0'
  65. # Bugly 异常上报管理
  66. pod 'Bugly'
  67. # 键盘管理
  68. pod 'IQKeyboardManagerSwift'
  69. end