mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-25 02:30:42 +08:00
24 lines
677 B
Ruby
24 lines
677 B
Ruby
# Uncomment the next line to define a global platform for your project
|
|
# platform :ios, '9.0'
|
|
|
|
flutter_application_path = '../flutter_module'
|
|
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
|
|
|
|
target 'IOSProj' do
|
|
use_frameworks!
|
|
use_modular_headers!
|
|
|
|
install_all_flutter_pods(flutter_application_path)
|
|
end
|
|
|
|
post_install do |installer|
|
|
flutter_post_install(installer) if defined?(flutter_post_install)
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['SWIFT_VERSION'] = '5.0'
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
|
|
end
|
|
end
|
|
end
|