platform :ios, '10.0' inhibit_all_warnings! use_modular_headers! use_frameworks! :linkage => :static #pod_install hook post_install do |installer| # 单个target编辑配置 installer.pods_project.targets.each do |target| target.build_configurations.each do |config| #config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0' config.build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = "org.cocoapods.${PRODUCT_NAME}" config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = "" config.build_settings['CODE_SIGNING_REQUIRED'] = "NO" config.build_settings['CODE_SIGNING_ALLOWED'] = "NO" end end end target '${POD_NAME}_Example' do pod '${POD_NAME}', :path => '../' target '${POD_NAME}_Tests' do inherit! :search_paths ${INCLUDED_PODS} end end