Podfile 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. platform :ios, '12.0'
  2. post_install do |installer|
  3. installer.aggregate_targets.each do |target|
  4. target.xcconfigs.each do |variant, xcconfig|
  5. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  6. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  7. end
  8. end
  9. installer.pods_project.targets.each do |target|
  10. target.build_configurations.each do |config|
  11. config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No'
  12. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
  13. end
  14. target.build_configurations.each do |config|
  15. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  16. xcconfig_path = config.base_configuration_reference.real_path
  17. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  18. end
  19. end
  20. end
  21. end
  22. target 'Asteria' do
  23. use_frameworks!
  24. pod 'BRPickerView'
  25. pod 'AFNetworking'
  26. pod 'MBProgressHUD'
  27. pod 'MJRefresh'
  28. pod 'MJExtension'
  29. pod 'SDWebImage'
  30. pod 'Masonry'
  31. # 键盘管理
  32. pod 'IQKeyboardManager'
  33. # iOS自定义Badge组件, 支持UIView, UITabBarItem, UIBarButtonItem, 支持Objective-C/Swift
  34. pod 'PPBadgeView'
  35. #可以block使用的 Toast 提示
  36. pod 'Toast'
  37. # 检测网络状态
  38. pod 'Reachability'
  39. pod 'CTMediator'
  40. #评价---星星
  41. pod 'HCSStarRatingView', '~> 1.5'
  42. pod 'Bugly'
  43. pod 'FBSDKLoginKit'
  44. pod 'GoogleSignIn'
  45. pod 'GKPhotoBrowser'
  46. pod 'WMBase', :path =>"../WMBase"
  47. pod 'MKNetworkKit'
  48. pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
  49. # 数据分析
  50. # Add the Firebase pod for Google Analytics
  51. pod 'FirebaseAnalytics'
  52. # Google 地点自动补齐
  53. pod 'GooglePlaces'
  54. # For Analytics without IDFA collection capability, use this pod instead
  55. # pod ‘Firebase/AnalyticsWithoutAdIdSupport’
  56. # Add the pods for any other Firebase products you want to use in your app
  57. # For example, to use Firebase Authentication and Cloud Firestore
  58. pod 'FirebaseCore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
  59. pod 'FirebaseFirestore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
  60. target 'NotificationServiceExtension' do #'OneSignalNotificationServiceExtension' do
  61. # Comment the next line if you don't want to use dynamic frameworks
  62. use_frameworks!
  63. pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
  64. end
  65. end