Closed MartinPulec closed 6 months ago
As indicated in this bug report, some background macOS process may be touching the bundle. Although we do not currently use macOS 13, which reportedly introduced XProtectBehaviorService but macOS 12. Anyways, the problem may be sort of similar.
Added a workaround with the commit f80943216f6f45639372e3e01325026e1f8d8edb by using more attempts with increasing delay (10, 20, 30, 40 seconds).
Closing for now – since the problem occurrence is no so often, it is better to implicitly assume that this ad hoc workaround helps until the problem occurs again proving it false.
Also this issue can be a place for further updates, either that the problem disappears or there is some proper fix.
EDIT: fixed commit hash (the original was not rebased on master).
see this failed build
It seems to happen approximately in 10%-20% cases.