fix indent in podfiles; add RunnerTests block in podfiles; remove bitcode setting
Showing
2 changed files
with
7 additions
and
2 deletions
| 1 | # Uncomment this line to define a global platform for your project | 1 | # Uncomment this line to define a global platform for your project |
| 2 | -platform :ios, '11.0' | 2 | +# platform :ios, '11.0' |
| 3 | 3 | ||
| 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. |
| 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' | 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' |
| @@ -32,13 +32,15 @@ target 'Runner' do | @@ -32,13 +32,15 @@ target 'Runner' do | ||
| 32 | use_modular_headers! | 32 | use_modular_headers! |
| 33 | 33 | ||
| 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) |
| 35 | + target 'RunnerTests' do | ||
| 36 | + inherit! :search_paths | ||
| 37 | + end | ||
| 35 | end | 38 | end |
| 36 | 39 | ||
| 37 | post_install do |installer| | 40 | post_install do |installer| |
| 38 | installer.pods_project.targets.each do |target| | 41 | installer.pods_project.targets.each do |target| |
| 39 | flutter_additional_ios_build_settings(target) | 42 | flutter_additional_ios_build_settings(target) |
| 40 | target.build_configurations.each do |config| | 43 | target.build_configurations.each do |config| |
| 41 | - config.build_settings['ENABLE_BITCODE'] = 'NO' | ||
| 42 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' | 44 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0' |
| 43 | end | 45 | end |
| 44 | end | 46 | end |
| @@ -31,6 +31,9 @@ target 'Runner' do | @@ -31,6 +31,9 @@ target 'Runner' do | ||
| 31 | use_modular_headers! | 31 | use_modular_headers! |
| 32 | 32 | ||
| 33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) | 33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) |
| 34 | + target 'RunnerTests' do | ||
| 35 | + inherit! :search_paths | ||
| 36 | + end | ||
| 34 | end | 37 | end |
| 35 | 38 | ||
| 36 | post_install do |installer| | 39 | post_install do |installer| |
-
Please register or login to post a comment