aoa*_*mon 10 ios cocoapods firebase crashlytics flutter
我在尝试使用 crashlytics 构建 flutter 应用程序时遇到错误
(但不知何故在 codemagic 上构建成功)\n我做了
这些是我的日志
\n\n\xe2\x95\xb0\xe2\x94\x80$ flutter run\nRunning "flutter pub get" in <my app>_time_reporting... \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 804ms\nLaunching lib/main.dart on iPhone 12 Pro Max in debug mode...\nRunning pod install... \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 1,179ms\nCocoaPods\' output:\n\xe2\x86\xb3\n\xc2\xa0 \xc2\xa0 \xc2\xa0 Preparing\n\n\xc2\xa0 \xc2\xa0 Analyzing dependencies\n\n\xc2\xa0 \xc2\xa0 Inspecting targets to integrate\n\xc2\xa0 \xc2\xa0 \xc2\xa0 Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)\n\n\xc2\xa0 \xc2\xa0 Finding Podfile changes\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - Flutter\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - connectivity_plus\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - device_info\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - firebase_core\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - firebase_crashlytics\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - flutter_barcode_scanner\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - image_picker\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - package_info\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - path_provider\n\n\xc2\xa0 \xc2\xa0 Fetching external sources\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `Flutter` from `Flutter`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `connectivity_plus` from `.symlinks/plugins/connectivity_plus/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `device_info` from `.symlinks/plugins/device_info/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`\n\xc2\xa0 \xc2\xa0 firebase_core: Using Firebase SDK version \'8.6.0\' defined in \'firebase_core\'\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `firebase_crashlytics` from `.symlinks/plugins/firebase_crashlytics/ios`\n\xc2\xa0 \xc2\xa0 firebase_crashlytics: Using Firebase SDK version \'8.6.0\' defined in \'firebase_core\'\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `flutter_barcode_scanner` from `.symlinks/plugins/flutter_barcode_scanner/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `image_picker` from `.symlinks/plugins/image_picker/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`\n\n\xc2\xa0 \xc2\xa0 Resolving dependencies of `Podfile`\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: all_pods_versions_c_7_9.txt exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: Specs/c/7/9/Reachability/3.2/Reachability.podspec.json exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: Specs/0/3/5/Firebase/8.5.0/Firebase.podspec.json exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: Specs/0/3/5/Firebase/8.3.0/Firebase.podspec.json exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 [!] CocoaPods could not find compatible versions for pod "Firebase/Crashlytics":\n\xc2\xa0 \xc2\xa0 \xc2\xa0 In snapshot (Podfile.lock):\n\xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 Firebase/Crashlytics (= 8.3.0)\n\n\xc2\xa0 \xc2\xa0 \xc2\xa0 In Podfile:\n\xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`) was resolved to 2.2.1, which depends on\n\xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 Firebase/Crashlytics (= 8.6.0)\n\n\xc2\xa0 \xc2\xa0 Specs satisfying the `Firebase/Crashlytics (= 8.3.0), Firebase/Crashlytics (= 8.6.0)` dependency were found, but they required a higher minimum deployment target.\n\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:257:in `process_topmost_state\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/resolver.rb:94:in `resolve\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1074:in `block in resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64:in `section\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:124:in `analyze\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:414:in `analyze\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64:in `section\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:238:in `resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:160:in `install!\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/command/install.rb:52:in `run\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/command.rb:52:in `run\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/bin/pod:55:in `<top (required)>\'\n\xc2\xa0 \xc2\xa0 /usr/local/bin/pod:23:in `load\'\n\xc2\xa0 \xc2\xa0 /usr/local/bin/pod:23:in `<main>\'\n\nError output from CocoaPods:\n\xe2\x86\xb3\n\n\xc2\xa0 \xc2\xa0 [!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.\n\nError running pod install\nError launching application on iPhone 12 Pro Max.\n\n
Run Code Online (Sandbox Code Playgroud)\n# Uncomment this line to define a global platform for your project\nplatform :ios, \'12.0\'\n\n# CocoaPods analytics sends network stats synchronously affecting flutter build latency.\nENV[\'COCOAPODS_DISABLE_STATS\'] = \'true\'\n\nproject \'Runner\', {\n \'Debug\' => :debug,\n \'Profile\' => :release,\n \'Release\' => :release,\n}\n\ndef flutter_root\n generated_xcode_build_settings_path = File.expand_path(File.join(\'..\', \'Flutter\', \'Generated.xcconfig\'), __FILE__)\n unless File.exist?(generated_xcode_build_settings_path)\n raise "#{generated_xcode_build_settings_path} must exist. If you\'re running pod install manually, make sure flutter pub get is executed first"\n end\n\n File.foreach(generated_xcode_build_settings_path) do |line|\n matches = line.match(/FLUTTER_ROOT\\=(.*)/)\n return matches[1].strip if matches\n end\n raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"\nend\n\nrequire File.expand_path(File.join(\'packages\', \'flutter_tools\', \'bin\', \'podhelper\'), flutter_root)\n\nflutter_ios_podfile_setup\n\ntarget \'Runner\' do\n use_frameworks!\n use_modular_headers!\n flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))\n # /sf/answers/4833346661/\n pod \'Firebase/Core\'\n pod \'Firebase/Crashlytics\'\nend\n\n# or pod \xe2\x80\x98Firebase/AnalyticsWithoutAdIdSupport\xe2\x80\x99\n# for Analytics without IDFA collection capability\n\n# add pods for any other desired Firebase products\n# https://firebase.google.com/docs/ios/setup#available-pods\n\npost_install do |installer|\n installer.pods_project.targets.each do |target|\n #target.build_configurations.each do |config|\n # config.build_settings.delete \'IPHONEOS_DEPLOYMENT_TARGET\'\n #end\n flutter_additional_ios_build_settings(target)\n # /sf/answers/4833346661/\n target.build_configurations.each do |config|\n config.build_settings[\'IPHONEOS_DEPLOYMENT_TARGET\'] = \'12.0\'\n end\n end\nend\n\n
Run Code Online (Sandbox Code Playgroud)\n\n\xe2\x95\xb0\xe2\x94\x80$ flutter run\nRunning "flutter pub get" in <my app>_time_reporting... \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 804ms\nLaunching lib/main.dart on iPhone 12 Pro Max in debug mode...\nRunning pod install... \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 1,179ms\nCocoaPods\' output:\n\xe2\x86\xb3\n\xc2\xa0 \xc2\xa0 \xc2\xa0 Preparing\n\n\xc2\xa0 \xc2\xa0 Analyzing dependencies\n\n\xc2\xa0 \xc2\xa0 Inspecting targets to integrate\n\xc2\xa0 \xc2\xa0 \xc2\xa0 Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)\n\n\xc2\xa0 \xc2\xa0 Finding Podfile changes\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - Flutter\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - connectivity_plus\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - device_info\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - firebase_core\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - firebase_crashlytics\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - flutter_barcode_scanner\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - image_picker\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - package_info\n\xc2\xa0 \xc2\xa0 \xc2\xa0 - path_provider\n\n\xc2\xa0 \xc2\xa0 Fetching external sources\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `Flutter` from `Flutter`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `connectivity_plus` from `.symlinks/plugins/connectivity_plus/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `device_info` from `.symlinks/plugins/device_info/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`\n\xc2\xa0 \xc2\xa0 firebase_core: Using Firebase SDK version \'8.6.0\' defined in \'firebase_core\'\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `firebase_crashlytics` from `.symlinks/plugins/firebase_crashlytics/ios`\n\xc2\xa0 \xc2\xa0 firebase_crashlytics: Using Firebase SDK version \'8.6.0\' defined in \'firebase_core\'\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `flutter_barcode_scanner` from `.symlinks/plugins/flutter_barcode_scanner/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `image_picker` from `.symlinks/plugins/image_picker/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`\n\xc2\xa0 \xc2\xa0 -> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`\n\n\xc2\xa0 \xc2\xa0 Resolving dependencies of `Podfile`\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: all_pods_versions_c_7_9.txt exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: Specs/c/7/9/Reachability/3.2/Reachability.podspec.json exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: Specs/0/3/5/Firebase/8.5.0/Firebase.podspec.json exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 \xc2\xa0 CDN: trunk Relative path: Specs/0/3/5/Firebase/8.3.0/Firebase.podspec.json exists! Returning local because checking is only perfomed in repo update\n\xc2\xa0 \xc2\xa0 [!] CocoaPods could not find compatible versions for pod "Firebase/Crashlytics":\n\xc2\xa0 \xc2\xa0 \xc2\xa0 In snapshot (Podfile.lock):\n\xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 Firebase/Crashlytics (= 8.3.0)\n\n\xc2\xa0 \xc2\xa0 \xc2\xa0 In Podfile:\n\xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`) was resolved to 2.2.1, which depends on\n\xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 \xc2\xa0 Firebase/Crashlytics (= 8.6.0)\n\n\xc2\xa0 \xc2\xa0 Specs satisfying the `Firebase/Crashlytics (= 8.3.0), Firebase/Crashlytics (= 8.6.0)` dependency were found, but they required a higher minimum deployment target.\n\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:257:in `process_topmost_state\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/resolver.rb:94:in `resolve\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1074:in `block in resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64:in `section\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer/analyzer.rb:124:in `analyze\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:414:in `analyze\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/user_interface.rb:64:in `section\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:238:in `resolve_dependencies\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/installer.rb:160:in `install!\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/command/install.rb:52:in `run\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/lib/cocoapods/command.rb:52:in `run\'\n\xc2\xa0 \xc2\xa0 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.2/bin/pod:55:in `<top (required)>\'\n\xc2\xa0 \xc2\xa0 /usr/local/bin/pod:23:in `load\'\n\xc2\xa0 \xc2\xa0 /usr/local/bin/pod:23:in `<main>\'\n\nError output from CocoaPods:\n\xe2\x86\xb3\n\n\xc2\xa0 \xc2\xa0 [!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.\n\nError running pod install\nError launching application on iPhone 12 Pro Max.\n\n
Run Code Online (Sandbox Code Playgroud)\n[\xe2\x9c\x93] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-x64, locale en-EE)\n \xe2\x80\xa2 Flutter version 2.2.3 at /Users/francesco/fvm/versions/stable\n \xe2\x80\xa2 Framework revision f4abaa0735 (10 weeks ago), 2021-07-01 12:46:11 -0700\n \xe2\x80\xa2 Engine revision 241c87ad80\n \xe2\x80\xa2 Dart version 2.13.4\n\n[\xe2\x9c\x93] Android toolchain - develop for Android devices (Android SDK version 30.0.3)\n \xe2\x80\xa2 Android SDK at /Users/francesco/Library/Android/sdk\n \xe2\x80\xa2 Platform android-30, build-tools 30.0.3\n \xe2\x80\xa2 Java binary at: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java\n \xe2\x80\xa2 Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)\n \xe2\x80\xa2 All Android licenses accepted.\n\n[\xe2\x9c\x93] Xcode - develop for iOS and macOS\n \xe2\x80\xa2 Xcode at /Applications/Xcode.app/Contents/Developer\n \xe2\x80\xa2 Xcode 12.5.1, Build version 12E507\n \xe2\x80\xa2 CocoaPods version 1.10.2\n\n[\xe2\x9c\x93] Chrome - develop for the web\n \xe2\x80\xa2 Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome\n\n[!] Android Studio (version 2020.3)\n \xe2\x80\xa2 Android Studio at /Applications/Android Studio.app/Contents\n \xe2\x80\xa2 Flutter plugin can be installed from:\n https://plugins.jetbrains.com/plugin/9212-flutter\n \xe2\x80\xa2 Dart plugin can be installed from:\n https://plugins.jetbrains.com/plugin/6351-dart\n \xe2\x9c\x97 Unable to find bundled Java version.\n \xe2\x80\xa2 Try updating or re-installing Android Studio.\n\n[\xe2\x9c\x93] VS Code (version 1.60.0)\n \xe2\x80\xa2 VS Code at /Applications/Visual Studio Code.app/Contents\n \xe2\x80\xa2 Flutter extension version 3.26.0\n\n[\xe2\x9c\x93] Connected device (3 available)\n \xe2\x80\xa2 iPhone 12 Pro Max (mobile) \xe2\x80\xa2 7D1B0B46-6D39-40A9-8792-8853C86AB930 \xe2\x80\xa2 ios \xe2\x80\xa2 com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)\n \xe2\x80\xa2 macOS (desktop) \xe2\x80\xa2 macos \xe2\x80\xa2 darwin-x64 \xe2\x80\xa2 macOS 11.5.2 20G95 darwin-x64\n \xe2\x80\xa2 Chrome (web) \xe2\x80\xa2 chrome \xe2\x80\xa2 web-javascript \xe2\x80\xa2 Google Chrome 93.0.4577.63\n\n! Doctor found issues in 1 category.\n
Run Code Online (Sandbox Code Playgroud)\n我已经尝试查看其他建议的解决方案,
\n但我发现大多数建议提高 ios 版本
\n(我已经这样做了)
有什么建议吗?
\naoa*_*mon 25
rm pubspec.lock && \
flutter clean && \
cd ios && \
pod cache clean --all && \
cd .. && \
flutter pub get && \
cd ios && \
pod update && \
cd ..
Run Code Online (Sandbox Code Playgroud)
然后flutter run
解决问题
归档时间: |
|
查看次数: |
5556 次 |
最近记录: |