platform :ios, '12.0' post_install do |installer| installer.aggregate_targets.each do |target| target.xcconfigs.each do |variant, xcconfig| xcconfig_path = target.client_root + target.xcconfig_relative_path(variant) IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR")) end end installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' end target.build_configurations.each do |config| if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference xcconfig_path = config.base_configuration_reference.real_path IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR")) end end end end source 'https://github.com/CocoaPods/Specs.git' target 'Asteria' do use_frameworks! pod 'BRPickerView' pod 'AFNetworking' pod 'MBProgressHUD' pod 'MJRefresh' pod 'MJExtension' pod 'SDWebImage' pod 'Masonry' # 键盘管理 pod 'IQKeyboardManager' # iOS自定义Badge组件, 支持UIView, UITabBarItem, UIBarButtonItem, 支持Objective-C/Swift pod 'PPBadgeView' #可以block使用的 Toast 提示 pod 'Toast' # 检测网络状态 pod 'Reachability' pod 'CTMediator' #评价---星星 pod 'HCSStarRatingView', '~> 1.5' pod 'Bugly' pod 'FBSDKLoginKit' pod 'GoogleSignIn' pod 'GKPhotoBrowser' #评价---星星 pod 'HCSStarRatingView', '~> 1.5' pod 'WMBase', :path =>"../WMBase" pod 'MKNetworkKit' pod 'LookinServer', :configurations => ['Debug'] # pod 'PayPal-iOS-SDK' pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0' # 数据分析 # Add the Firebase pod for Google Analytics pod 'FirebaseAnalytics' # Google 地点自动补齐 pod 'GooglePlaces' # For Analytics without IDFA collection capability, use this pod instead # pod ‘Firebase/AnalyticsWithoutAdIdSupport’ # Add the pods for any other Firebase products you want to use in your app # For example, to use Firebase Authentication and Cloud Firestore pod 'FirebaseCore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master' pod 'FirebaseFirestore'#, :git => 'https://github.com/firebase/firebase-ios-sdk.git', :branch => 'master' target 'NotificationServiceExtension' do #'OneSignalNotificationServiceExtension' do # Comment the next line if you don't want to use dynamic frameworks use_frameworks! pod 'OneSignalXCFramework', '>= 3.0.0', '< 4.0' end end