Podfile 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
  48. # 数据分析
  49. # Add the Firebase pod for Google Analytics
  50. pod 'FirebaseAnalytics'
  51. # Google 地点自动补齐
  52. pod 'GooglePlaces'
  53. # For Analytics without IDFA collection capability, use this pod instead
  54. # pod ‘Firebase/AnalyticsWithoutAdIdSupport’
  55. # Add the pods for any other Firebase products you want to use in your app
  56. # For example, to use Firebase Authentication and Cloud Firestore
  57. pod 'FirebaseCore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
  58. pod 'FirebaseFirestore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
  59. target 'NotificationServiceExtension' do #'OneSignalNotificationServiceExtension' do
  60. # Comment the next line if you don't want to use dynamic frameworks
  61. use_frameworks!
  62. pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
  63. end
  64. end