반응형
Flutter 셋팅 중 Supabase를 사용하려고 하니 Flutter 버전 업그레이드가 필요하다고 한다. Flutter의 버전을 업그레이드 해보자.
// flutter 버전 확인
flutter --version
// flutter stable 채널 변경
flutter channel stable
// flutter 업그레이드
flutter upgrade
// 프로젝트의 패키지 업그레이드 (-v 옵션 추가해서 로그 출력)
> flutter -v pub get
프로젝트의 패키지까지 업그레이드하면 다음과 같이 로그가 표시된다.
Upgrading Flutter to 3.16.5 from 3.3.9 in /Users/sihyungpark/dev/flutter...
Downloading Darwin arm64 Dart SDK from Flutter engine 3f3e560236539b7e2702f5ac790b2a4691b32d49...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
1 207M 1 2368k 0 0 1960k 0 0:01:48 0:00:01 0:01:47 1963k
15 207M 15 32.6M 0 0 14.7M 0 0:00:14 0:00:02 0:00:12 14.7M
30 207M 30 63.9M 0 0 19.9M 0 0:00:10 0:00:03 0:00:07 19.9M
46 207M 46 95.6M 0 0 22.7M 0 0:00:09 0:00:04 0:00:05 22.7M
61 207M 61 127M 0 0 24.5M 0 0:00:08 0:00:05 0:00:03 25.6M
75 207M 75 157M 0 0 25.2M 0 0:00:08 0:00:06 0:00:02 30.9M
89 207M 89 185M 0 0 25.6M 0 0:00:08 0:00:07 0:00:01 30.5M
100 207M 100 207M 0 0 26.3M 0 0:00:07 0:00:07 --:--:-- 30.7M
Building flutter tool...
Resolving dependencies...
Got dependencies.
Upgrading engine...
Downloading Material fonts... 365ms
Downloading android-arm-profile/darwin-x64 tools... 230ms
Downloading android-arm-release/darwin-x64 tools... 196ms
Downloading android-arm64-profile/darwin-x64 tools... 172ms
Downloading android-arm64-release/darwin-x64 tools... 130ms
Downloading android-x64-profile/darwin-x64 tools... 157ms
Downloading android-x64-release/darwin-x64 tools... 575ms
Downloading android-x86 tools... 888ms
Downloading android-x64 tools... 1,454ms
Downloading android-arm tools... 838ms
Downloading android-arm-profile tools... 204ms
Downloading android-arm-release tools... 165ms
Downloading android-arm64 tools... 2,768ms
Downloading android-arm64-profile tools... 439ms
Downloading android-arm64-release tools... 181ms
Downloading android-x64-profile tools... 423ms
Downloading android-x64-release tools... 382ms
Downloading android-x86-jit-release tools... 481ms
Downloading ios tools... 4.0s
Downloading ios-profile tools... 2,755ms
Downloading ios-release tools... 2,699ms
Downloading Web SDK... 2,078ms
Downloading darwin-x64/FlutterMacOS.framework tools... 1,352ms
Downloading darwin-x64/gen_snapshot tools... 344ms
Downloading darwin-x64-profile/FlutterMacOS.framework tools... 1,353ms
Downloading darwin-x64-profile tools... 117ms
Downloading darwin-x64-profile/gen_snapshot tools... 326ms
Downloading darwin-x64-release/FlutterMacOS.framework tools... 897ms
Downloading darwin-x64-release tools... 103ms
Downloading darwin-x64-release/gen_snapshot tools... 140ms
Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (2 weeks ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4
Flutter는 3.16.5버전으로, Dart는 3.2.3으로 버전업된것을 확인할 수 있다. Dart도 함께 버전업될줄은 몰랐는데 ?
반응형
'Flutter' 카테고리의 다른 글
[Flutter] dart fix로 불필요한 import문 한번에 삭제하기 (1) | 2024.04.12 |
---|---|
[Flutter] App Bundle 아티팩트 유형은 네이티브 코드를 포함하며 아직 디버그 기호가 업로드되지 않았습니다. (1) | 2024.04.07 |
[Flutter] macOS Network Error, mac OS 디버깅시 네트워크 이슈 (0) | 2024.01.13 |
[Flutter] prefer_const_constructors 에러 처리하기 (0) | 2024.01.10 |
[Flutter] iOS 구동시 발생하는 Pods-Runner 에러 (0) | 2024.01.06 |