Skip to content

Releases: rinsuki-lab/binaryen

Apple Silicon (Universal Binary 2) Binary for Unity 2021.x

31 Aug 10:12
Compare
Choose a tag to compare

USE AT YOUR OWN RISK!!

Instructions

  • Unzip
  • chmod +x /path/to/zip-content/bin/*
  • cd /path/to/zip-content/bin && find . -type f -name "wasm*" -print0 | xargs -0 -I{} lipo {} -remove x86_64 -output {}
    • It seems you need to remove x86_64 parts since Darwin prefers same architecture binary with parent process
  • Open PlaybackEngines/WebGLSupport/BuildTools/Emscripten/binaryen folder in Finder
  • Duplicate bin and lib folder for backup
  • Open lib folder, and replace libbinaryen.dylib from zip
  • Open bin folder, and replace wasm* from zip
    • you shouldn't replace folder, because binaryen-lit is missing on zip
  • you might be need to remove quarantine flag from every files