Xcode's output:
↳
Writing result bundle at path:
/var/folders/mw/s87p0r9j4cnbnl0pbskz815h0000gp/T/flutter_tools.NCX2rj/flutter_ios_build_temp_dirpXAxz0/temporary_xcresult_bundle
: Error: Member not found: 'UnicodeChar'.
../…/src/structs.g.dart:661
int get UnicodeChar => Char.UnicodeChar;
^^^^^^^^^^^
: Error: Setter not found: 'UnicodeChar'.
../…/src/structs.g.dart:662
set UnicodeChar(int value) => Char.UnicodeChar = value;
^^^^^^^^^^^
: Error: Member not found: 'AsciiChar'.
../…/src/structs.g.dart:664
int get AsciiChar => Char.AsciiChar;
^^^^^^^^^
: Error: Setter not found: 'AsciiChar'.
../…/src/structs.g.dart:665
set AsciiChar(int value) => Char.AsciiChar = value;
^^^^^^^^^
Failed to package /Users/mik_a/Desktop/dev/app.
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
Result bundle written to path:
/var/folders/mw/s87p0r9j4cnbnl0pbskz815h0000gp/T/flutter_tools.NCX2rj/flutter_ios_build_temp_dirpXAxz0/temporary_xcresult_bundle
Flutter 3.0 업데이트 후 iOS 빌드를 하려고 하니 나온 에러.
해결법
flutter pub upgrade --major-versions // 현재 프로젝트의 패키지 버전을 최신버전으로 업그레이드
flutter clean
rm pubspec.lock // pubspec.lock 파일 삭제
flutter pub get
'Frontend > Flutter' 카테고리의 다른 글
[Flutter] iOS : 개발자를 확인할 수 없기 때문에 ‘iproxy’을(를) 열 수 없습니다. (10) | 2022.08.03 |
---|---|
[Flutter] Avoid 'print' calls in production code. 의 이유 (8) | 2022.05.09 |
[Flutter] xcode build parse issue module not found (8) | 2022.02.04 |
[Flutter] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly" (1025) | 2022.01.12 |
[Flutter] VScode 에서 region 을 이용하여 코드 folding 하기 (441) | 2021.12.30 |