swift – I’ve a flutter undertaking that’s failing to compile for iOS resulting from Property ‘isHighDynamicRange’ in SDWebImage library in iOS

0
1
swift – I’ve a flutter undertaking that’s failing to compile for iOS resulting from Property ‘isHighDynamicRange’ in SDWebImage library in iOS


right here is my PodFile

# Uncomment this line to outline a worldwide platform in your undertaking
platform :ios, '14.0'

# CocoaPods analytics sends community stats synchronously affecting flutter construct latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

undertaking 'Runner', {
  'Debug' => :debug,
  'Profile' => :launch,
  'Launch' => :launch,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.be a part of('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  until File.exist?(generated_xcode_build_settings_path)
    elevate "#{generated_xcode_build_settings_path} should exist. When you're working pod set up manually, make sure that flutter pub get is executed first"
  finish

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT=(.*)/)
    return matches[1].strip if matches
  finish
  elevate "FLUTTER_ROOT not present in #{generated_xcode_build_settings_path}. Strive deleting Generated.xcconfig, then run flutter pub get"
finish

require File.expand_path(File.be a part of('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

goal 'Runner' do
  use_frameworks!
  use_modular_headers!
  pod 'SDWebImage', '~> 5.21.0'

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  goal 'RunnerTests' do
    inherit! :search_paths
  finish
finish

post_install do |installer|
  installer.pods_project.targets.every do |goal|
    flutter_additional_ios_build_settings(goal)

    
  finish
finish

I’ve tried to extend the goal :ios model from 13 to 14 however it’s nonetheless not working.
I’ve recreated the iOS undertaking however it would not work both.
I’ve replace the cocoapods as properly however it’s not working

LEAVE A REPLY

Please enter your comment!
Please enter your name here