File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141post_install do |installer |
4242 installer . pods_project . targets . each do |target |
4343 flutter_additional_ios_build_settings ( target )
44+ target . build_configurations . each do |config |
45+ config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] = '13.0'
46+
47+
48+ if [ 'Share Extension' ] . include? ( target . name )
49+ config . build_settings [ 'SWIFT_ENABLE_EXPLICIT_MODULES' ] = 'NO'
50+ # Additional settings to resolve module dependencies
51+ config . build_settings [ 'SWIFT_ENABLE_INCREMENTAL_COMPILATION' ] = 'NO'
52+ config . build_settings [ 'SWIFT_COMPILATION_MODE' ] = 'wholemodule'
53+ end
54+
55+
56+ end
57+ end
58+ # Additional project-level settings for all targets
59+ installer . pods_project . build_configurations . each do |config |
60+ config . build_settings [ 'SWIFT_ENABLE_EXPLICIT_MODULES' ] = 'NO'
4461 end
4562end
You can’t perform that action at this time.
0 commit comments