Podfile 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. source 'https://github.com/CocoaPods/Specs.git'
  23. target 'Asteria' do
  24. use_frameworks!
  25. pod 'BRPickerView'
  26. pod 'AFNetworking'
  27. pod 'MBProgressHUD'
  28. pod 'MJRefresh'
  29. pod 'MJExtension'
  30. pod 'SDWebImage'
  31. pod 'Masonry'
  32. # 键盘管理
  33. pod 'IQKeyboardManager'
  34. # iOS自定义Badge组件, 支持UIView, UITabBarItem, UIBarButtonItem, 支持Objective-C/Swift
  35. pod 'PPBadgeView'
  36. #可以block使用的 Toast 提示
  37. pod 'Toast'
  38. # 检测网络状态
  39. pod 'Reachability'
  40. pod 'CTMediator'
  41. #评价---星星
  42. pod 'HCSStarRatingView', '~> 1.5'
  43. pod 'Bugly'
  44. pod 'FBSDKLoginKit'
  45. pod 'GoogleSignIn'
  46. pod 'GKPhotoBrowser'
  47. #评价---星星
  48. pod 'HCSStarRatingView', '~> 1.5'
  49. pod 'WMBase', :path =>"../WMBase"
  50. pod 'MKNetworkKit'
  51. pod 'LookinServer', :configurations => ['Debug']
  52. # pod 'PayPal-iOS-SDK'
  53. pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
  54. # 数据分析
  55. # Add the Firebase pod for Google Analytics
  56. pod 'FirebaseAnalytics'
  57. # Google 地点自动补齐
  58. pod 'GooglePlaces'
  59. # For Analytics without IDFA collection capability, use this pod instead
  60. # pod ‘Firebase/AnalyticsWithoutAdIdSupport’
  61. # Add the pods for any other Firebase products you want to use in your app
  62. # For example, to use Firebase Authentication and Cloud Firestore
  63. pod 'FirebaseCore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
  64. pod 'FirebaseFirestore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master'
  65. target 'NotificationServiceExtension' do #'OneSignalNotificationServiceExtension' do
  66. # Comment the next line if you don't want to use dynamic frameworks
  67. use_frameworks!
  68. pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0'
  69. end
  70. end