Tags: nettlep/magic
Tags
Updated all projects to set 'Build Active Architectures Only' to 'yes… …' for release build and no for all other build configurations. This may cause some folks to have build issues because this requires hand-modifying your homebrew libraries. This is a cumbersome process, which requires the developer to have access to both the x86_64 and arm64 binaries for the libraries libaa.a, libavcodec.dylib, libavutil.dylib and libavformat.dylib. Each of those four libraries must be combined (x86_64 and arm64) into a single universal library. This is done using 'lipo -create [arm64 file] [x86_64 file] -output [original filename]'. For example, I obtained the libaa.a file for both platforms, which I named libaa.arm64.a and libaa.x86_64.a. I then ran 'lipo -create libaa.arm64.a libaa.x86_64.a -output libaa.a'. I then performed a similar process for the three libav files.