source 'https://cdn.cocoapods.org/' source 'https://github.com/aliyun/aliyun-specs.git' use_frameworks! platform :ios, '12.0' target 'NewHttpDNSTests' do pod 'OCMock' end target 'NewHttpDNSTestDemo' do pod 'NewHTTPDNS', :path => './NewHTTPDNS.podspec' end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end end end