During the macOS Universal aggregation job, bin/ contains non-Mach-O assets such as com.argyllcms.metainfo.xml installed by Jamfile. Invoking lipo -create on XML or other text files causes lipo to fail with a non-Mach-O error.
This PR checks whether both slice files are Mach-O binaries (file | grep -q Mach-O) before invoking lipo, and copies non-Mach-O assets directly into bin/.
### Fix Description
During the macOS Universal aggregation job, `bin/` contains non-Mach-O assets such as `com.argyllcms.metainfo.xml` installed by `Jamfile`. Invoking `lipo -create` on XML or other text files causes `lipo` to fail with a non-Mach-O error.
This PR checks whether both slice files are Mach-O binaries (`file | grep -q Mach-O`) before invoking `lipo`, and copies non-Mach-O assets directly into `bin/`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fix Description
During the macOS Universal aggregation job,
bin/contains non-Mach-O assets such ascom.argyllcms.metainfo.xmlinstalled byJamfile. Invokinglipo -createon XML or other text files causeslipoto fail with a non-Mach-O error.This PR checks whether both slice files are Mach-O binaries (
file | grep -q Mach-O) before invokinglipo, and copies non-Mach-O assets directly intobin/.