ruberine Warning: skip copying bootloader_b image avb footer (bootloader_b partition size: 0, bootloader_b image size: 14125140).
I think this is ok.
ruberine Sending 'bootloader_b' (13794 KB) ERROR: usb_write failed with status e00002ed
Did that failure happen right away, or after a delay?
It looks to me as if there is a problem with USB transport. Can you confirm that you are using a high-quality cable, directly connecting the phone to a port on the Mac, without intermediary hubs?
What kind of Mac is this? Which OS release?