エラー内容
github action で Flutter の flutter build ipa を実行したところ 以下のようなエラーが出ました。
Run flutter build ipa --dart-define-from-file=dart_defines/prd.json --export-options-plist=ExportOptions.plist --build-number ${GITHUB_RUN_NUMBER}
flutter build ipa --dart-define-from-file=dart_defines/prd.json --export-options-plist=ExportOptions.plist --build-number ${GITHUB_RUN_NUMBER}
shell: /bin/bash -e {0}
Downloading ios tools... 2,673ms
Downloading ios-profile tools... 1,938ms
Downloading ios-release tools...
Archiving com.省略.省略...
ios/Runner/AppDelegate.swift uses the deprecated @UIApplicationMain attribute, updating.
Automatically signing iOS for device deployment using specified development team in Xcode project: 省略
Running pod install... 180.0s
Running Xcode build...
Xcode archive done. 782.3s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/win32-5.5.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.
解決
$ flutter pub upgrade win32
参考