[SOLVED] Unable to run app after installing appwrite package
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
so, now i need to replace the frontend application
Rank 3: Container
mine is macos app, so what should be the min version?
I encourage you to read, think, and practice your problem solving skills
Rank 3: Container
I have tried many things, tried upgrading other package versions and what not, but wasnt able to figure out
Rank 3: Container
is that so that illl have to update the min version of macos in project?
Rank 3: Container
If so, then what is the min version?
Rank 3: Container
I did also tried upgrading macos min version to 10.15
What exactly did you do?
Rank 3: Container
I tried upgrading min version for macOS from 10.14 to 10.15
Rank 3: Container
I also tried upgrading all of my other packages to latest version
Rank 3: Container
I also tried deleting the podfile and recreated a new one
Please share a screenshot of what you did
Rank 3: Container
I upgraded this to 10.15 it was previously 10.14
Rank 3: Container
Then i also tried doing flutter clean
And you opened this from the macos folder?
Rank 3: Container
Yes
Rank 3: Container
I also tried setting it to 11.0
Ok, what's in your Podfile?
Rank 3: Container
platform :osx, '10.15'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_macos_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_macos_build_settings(target)
end
end
Delete the pod lock if you have one, build, and share the updated error message
Rank 3: Container
I tried that, and ya it somehow fixed the error
Rank 3: Container
Thanks a lot
Rank 3: Container
[Solved] Unable to run app after installing appwrite package
Rank 3: Container
[SOLVED] Unable to run app after installing appwrite package