Skip to content

Instantly share code, notes, and snippets.

@suztomo
Last active June 25, 2020 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suztomo/64ad27f3caaa90e38bd9ff963c3c5d9b to your computer and use it in GitHub Desktop.
Save suztomo/64ad27f3caaa90e38bd9ff963c3c5d9b to your computer and use it in GitHub Desktop.
Flutter beta fails with "Failed to subset font"
~/Documents/hitomemo $ tail -30 /Users/suztomo/Library/Logs/gym/Runner-Runner.log git[branch:dev]
export VALIDATE_WORKSPACE=YES_ERROR
export VALID_ARCHS="arm64 arm64e armv7 armv7s"
export VERBOSE_PBXCP=NO
export VERSIONING_SYSTEM=apple-generic
export VERSIONPLIST_PATH=Runner.app/version.plist
export VERSION_INFO_BUILDER=suztomo
export VERSION_INFO_FILE=Runner_vers.c
export VERSION_INFO_STRING=""@(#)PROGRAM:Runner PROJECT:Runner-6""
export WATCHKIT_2_SUPPORT_FOLDER_PATH=/Users/suztomo/Library/Developer/Xcode/DerivedData/Runner-bwdncqwtelezipfohaojqhhtsssq/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/WatchKitSupport2
export WATCHKIT_SUPPORT_FOLDER_PATH=/Users/suztomo/Library/Developer/Xcode/DerivedData/Runner-bwdncqwtelezipfohaojqhhtsssq/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/WatchKitSupport
export WRAPPER_EXTENSION=app
export WRAPPER_NAME=Runner.app
export WRAPPER_SUFFIX=.app
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=11E608c
export XCODE_VERSION_ACTUAL=1150
export XCODE_VERSION_MAJOR=1100
export XCODE_VERSION_MINOR=1150
export XPCSERVICES_FOLDER_PATH=Runner.app/XPCServices
export YACC=yacc
export arch=undefined_arch
export variant=normal
/bin/sh -c /Users/suztomo/Library/Developer/Xcode/DerivedData/Runner-bwdncqwtelezipfohaojqhhtsssq/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh
Failed to subset font; aborting.
Target release_ios_bundle_flutter_assets failed: FontSubset error: Font subsetting failed with exit code 255.
build failed.
Command PhaseScriptExecution failed with a nonzero exit code
~/Documents/hitomemo $ flutter doctor git[branch:dev]
Downloading android-arm-profile/darwin-x64 tools... 0.9s
Downloading android-arm-release/darwin-x64 tools... 0.9s
Downloading android-arm64-profile/darwin-x64 tools... 1.0s
Downloading android-arm64-release/darwin-x64 tools... 0.9s
Downloading android-x64-profile/darwin-x64 tools... 0.9s
Downloading android-x64-release/darwin-x64 tools... 1.1s
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.19.0-4.2.pre, on Mac OS X 10.15.5 19F101, locale
en-US)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK
components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, set
ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Community Edition (version 2020.1.2)
[✓] VS Code
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment