Closed Ewg777 closed 2 years ago
I got it to work by cloning and by following the instructions in the readme (running make
). Seems only to affect the brew
version.
This happens because in Apple Silicon computers the Homebrew installation directory changed. You can sort this issue by setting manually the DYLD_LIBRARY_PATH before running xcgrapher:
export DYLD_LIBRARY_PATH="$(brew list xcgrapher | grep 'bin/xcgrapher' | sed 's#/bin/xcgrapher##')/lib"
xcgrapher --project Example.xcodeproj --target Example --pods
I finally got an M1 two days ago so I can test and resolve this soon, sorry for the delay everyone :)
Have forced the mapping of @rpath
in the makefile (for now...?) and updated the brew formula.
It seems to work on both M1s and older machines now 🎉
Thank you!
Setup: MacOS 11.6, M1 Steps to reproduce:
Output