RedMadRobot / figma-export

Command line utility to export colors, typography, icons and images from Figma to Xcode / Android Studio project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not export colors in 0.32.2

ink1804 opened this issue · comments

I tried to export colors with new version 0.32.2 but an error appears.
AndroidExport/resource_bundle_accessor.swift:27: Fatal error: unable to find bundle named figma-export_AndroidExport zsh: trace trap figma-export colors
in version 0.23.4 everything is ok.
I tried many files, even from yours example and the result is the same.

Any idea whats happened?

Hello. I will check it out and get back to you.

How did you install FigmaExport: via homebrew or download zip from Releases page?

The error says that file figma-export_AndroidExport.bundle could not be found. This file contains Stencil templates FigmaExport uses since 0.32.0. If you use Homebrew this file is installed automatically. If you use manual installation from zip file please check that the bundle file located near the figma-export binary file.

What is you OS: macOS, Windows or Linux?

@subdan from homebrew, but i had to copy figma-export file into usr/local/bin, because android studio doesn't use default brew path.
Mac os

So, you need to copy all the files to fix the issue.
image

Also try to add a symlink to figma-export file inside usr/local/bin

@subdan for real, i missed it! Now its working, thank you very much!