[ad_1]
I am making an attempt to run a flutter app on ios simulator. However, first I am making an attempt to run pod set up command.
A few of the pods get put in however after Putting in webview_flutter_wkwebview (0.0.1), I get the error
[!] The ‘Pods-Runner’ goal has frameworks with conflicting names: libavcodec.xcframework, libavdevice.xcframework, libavfilter.xcframework, libavformat.xcframework, libavutil.xcframework, libswresample.xcframework, and libswscale.xcframework.
These are the issues I’ve tried however failed:
- Flutter Clear and re run after flutter pub get
- flutter pub get && flutter pub run build_runner construct –delete-conflicting-outputs
- pod deintegrate and pod set up
- Flutter pub cache restore and flutter pub get.
Is there every other answer I can attempt? Thank You.
This is my podfile:
# Uncomment this line to outline a worldwide platform on your undertaking
platform :ios, '12.1'
# 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 part of('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
until File.exist?(generated_xcode_build_settings_path)
increase "#{generated_xcode_build_settings_path} should exist. When you're working pod set up manually, be certain 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
increase "FLUTTER_ROOT not present in #{generated_xcode_build_settings_path}. Attempt deleting Generated.xcconfig, then run flutter pub get"
finish
require File.expand_path(File.be part of('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
goal 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
finish
post_install do |installer|
installer.pods_project.targets.every do |goal|
flutter_additional_ios_build_settings(goal)
goal.build_configurations.every do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
finish
finish
finish
[ad_2]
