| platform :ios, '15.0' | |
| flutter_application_path = '../hello' | |
| load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb') | |
| target 'Host' do | |
| # use_frameworks! is required for Xcode 26+ compatibility. | |
| # Xcode 26 removed Swift backward compatibility libraries (swiftCompatibility51, etc.) | |
| # that are referenced when building static libraries targeting iOS < 15. | |
| # Dynamic frameworks bundle their own Swift runtime, avoiding the missing symbols. | |
| # See: https://github.com/flutter/flutter/issues/175905 | |
| use_frameworks! | |
| install_all_flutter_pods flutter_application_path | |
| end | |
| target 'FlutterUITests' do | |
| inherit! :search_paths | |
| end | |
| post_install do |installer| | |
| flutter_post_install(installer) | |
| end |