Nallagram icon indicating copy to clipboard operation
Nallagram copied to clipboard

Getting this error while running flutter run (M1 mac)

Open thayub opened this issue 2 years ago • 0 comments

../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.1.0/lib/src/image_provider/multi_image_stream_completer.dart:152:22: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null. - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart'). SchedulerBinding.instance?.scheduleFrameCallback(_handleAppFrame); ^ ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/story_view-0.13.1/lib/widgets/story_image.dart:49:25: Warning: Operand of null-aware operation '!' has type 'PaintingBinding' which excludes null. - 'PaintingBinding' is from 'package:flutter/src/painting/binding.dart' ('../../../development/flutter/packages/flutter/lib/src/painting/binding.dart'). PaintingBinding.instance!.instantiateImageCodec(imageBytes).then( ^ ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/platform-3.0.2/lib/src/interface/local_platform.dart:46:19: Error: Member not found: 'packageRoot'. io.Platform.packageRoot; // ignore: deprecated_member_use ^^^^^^^^^^^ Failed to package /Users/blue/Desktop/flutter/soc1. Command PhaseScriptExecution failed with a nonzero exit code note: Using new build system note: Planning note: Build preparation complete note: Building targets in dependency order /Users/blue/Desktop/flutter/soc1/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'leveldb-library' from project 'Pods') /Users/blue/Desktop/flutter/soc1/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'gRPC-Core' from project 'Pods') /Users/blue/Desktop/flutter/soc1/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'gRPC-C++-gRPCCertificates-Cpp' from project 'Pods') /Users/blue/Desktop/flutter/soc1/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'gRPC-C++' from project 'Pods') /Users/blue/Desktop/flutter/soc1/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'abseil' from project 'Pods') /Users/blue/Desktop/flutter/soc1/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'FMDB' from project 'Pods') /Users/blue/Desktop/flutter/soc1/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'BoringSSL-GRPC' from project 'Pods')

Result bundle written to path:
	/var/folders/c6/64mvmhpn40j_myw7bk0hw0r40000gn/T/flutter_tools.z4SReh/flutter_ios_build_temp_dir4M1mR1/temporary_xcresult_bundle

Could not build the application for the simulator. Error launching application on iPhone 13 Pro Max.

thayub avatar Aug 12 '22 07:08 thayub