Podfile 修改Pod 工程设置

Uncomment the next line to define a global platform for your project

platform :ios, '14.0'

target 'XX' do

Comment the next line if you don't want to use dynamic frameworks

use_frameworks!

pod "Alamofire"

pod 'lottie-ios'
pod 'MBProgressHUD'
pod 'Kingfisher'
pod 'SnapKit'
pod 'SwiftyUserDefaults'
pod 'DGCharts'

pod 'Google-Mobile-Ads-SDK'
pod 'FirebaseAnalytics'
pod 'FirebaseCrashlytics'
pod 'FirebaseRemoteConfig'
pod 'FBSDKCoreKit'
pod "HandyJSON"

pod 'SwiftyRSA'

在Podfile中

post_install do |installer|
installer.pods_project.targets.each do |target|
# 设置Build Settings
target.build_configurations.each do |config|
if target.name == 'HandyJSON'
puts target.name
puts config
puts '********'
config.build_settings['SWIFT_COMPILATION_MODE'] = 'Incremental'
puts '111'
end

    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
    
    # 添加其他需要的build settings
  end
end

end

end

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容