'Is there a way to prevent OSX .pkg deleting other dev versions?

Exactly the same question has been asked 8 years ago at OSX .pkg deletes other dev versions

The answer was

pkgbuild does not support not overwriting the previous version at this time

Is there any news or does the same restriction still apply today?



Solution 1:[1]

According to this comment: Mac installer overwrites ALL copies of file, setting BundleIsRelocatable to FALSE fixes this.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 devink