File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040post_install do |installer |
4141 installer . pods_project . targets . each do |target |
4242 flutter_additional_ios_build_settings ( target )
43+
44+ # Enable Swift 6 access level on imports feature
45+ target . build_configurations . each do |config |
46+ config . build_settings [ 'OTHER_SWIFT_FLAGS' ] ||= [ ]
47+ config . build_settings [ 'OTHER_SWIFT_FLAGS' ] << '-enable-experimental-feature'
48+ config . build_settings [ 'OTHER_SWIFT_FLAGS' ] << 'AccessLevelOnImport'
49+ end
4350 end
4451end
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_macos_build_settings ( target )
44+
45+ # Enable Swift 6 access level on imports feature
46+ target . build_configurations . each do |config |
47+ config . build_settings [ 'OTHER_SWIFT_FLAGS' ] ||= [ ]
48+ config . build_settings [ 'OTHER_SWIFT_FLAGS' ] << '-enable-experimental-feature'
49+ config . build_settings [ 'OTHER_SWIFT_FLAGS' ] << 'AccessLevelOnImport'
50+ end
4451 end
4552end
You can’t perform that action at this time.
0 commit comments