Podfile 2.5 KB

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