목록Flutter/Errors (11)
seong

발생한 에러Writing result bundle at path: /var/folders/_y/wm04fckd03z_b6prg9phrfq00000gn/T/flutter_tools.RnkvNF/flutter_ios_build_temp_dir1VI1tl/temporary_xcresult_bundle /Users/ihyeonseong/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.4/ios/Classes/Launcher.swift:20:1: error: type 'UIApplication' does not conform to protocol 'Launcher' extension UIApplication: Launcher {} ^ UIKit.UI..

iOS 배포 하려고 Archive하던 도중 만난 에러 해결 방법Flutter 프로젝트에서 ios/Runner.xcoworkspace 파일 열어준다 ( open ios/Runner.xcworkspace ) Runner -> Minimum Deployments에 설정된 iOS 버전은 12.0으로 되어있다. Runner -> Flutter -> AppFrameworkInfoMinimumOSVersion은 기존에 11.0 -> 12.0으로 맞춰준 후 해결

IOS Build 도중에 나온 에러이다.아래 화면 처럼 에러를 던지는데 Xcode로 build할땐 도대체 무슨 말이지 하다가..조금의 삽질 이후 정확한 에러를 찾았다. 화면에 보이는 것 처럼 "dart pub global activate flutterfire_cli를 터미널에 입력 해주면 된다. 만약 FVM을 사용중이라면 앞에 fvm dart ~~해주어야한다.
Flutter 에서 개발 하던 도중 아래 에러 발생.The following assertion was thrown building Builder: dependOnInheritedWidgetOfExactType()or dependOnInheritedElement() was called before _Home.initState() completed. 원인 간략하게만 살펴보면 다음과 같다.home의 initState가 끝나기도 전에 context를 사용 하려고 해서 그렇다 HomeScreen에서 최초 한번만 실행 하는 dialog가 필요 했는데, 이 부분을 아무 생각 없이 initState()함수에 넣었다.Dialog에는 파라미터로 context가 필요했고, 그래서 에러가 발생했다. 해결 방안initState..

Flutter에서 IOS 기기 빌드 하는데 아래 에러가 발생했다. Could not build the precompiled application for the device. Swift Compiler Error (Xcode): Compiling for iOS 11.0, but module 'Reachability' has a minimum deployment target of iOS 12.0: /Users/ihyeonseong/StudioProjects/medication_manage/build/ios/Debug-iphoneos/ReachabilitySwift/Reachability.framework/Modules/Reachability.swiftmodule/arm64-apple-ios.swiftmodu..
flutterfire configure ~~ 명령어를 실행 도중 에러발생 터미널에 아래 명령어를 입력해주고 다시 flutterfire configure~~ 를 입력해주면 잘 실행된다. export PATH="$PATH":"$HOME/.pub-cache/bin"
Flutter를 빌드 하던 도중 아래 에러가 발생했다. Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't. 구글링을해도 동일한 에러는 잘 나오지도 않고, 거의다 소스를 수정하는 부분이었다. 원인은 Flutter SDK Version에 있었다. 실행 시에 Flutter 최신 버전인 3.16 버전을 설치 했는데, 프로젝트에서 3.16버전에서는 지원 안되는 패키지나 라이브러리가 있었다. 결론 Flutter SDK버전을 다운그레이드 하거나 개발시 사용했던 ..
Flutter doctor에서 아래와 같은 에러 해결하기 Xcode end user license agreement not signed; open Xcode or run the command 'sudo xcodebuild -license'. 해결 방법 1. sudo xcodebuild -license 2. Enter 3. q 입력 4. agree 입력