When opening a pkg file on Mojave and Catalina I'm seeing following Package Authoring Errors in Installer log (/var/log/install.log):
Package Authoring Error: <background> has an unsupported MIME type: image/data
Package Authoring Error: <background_scaling> has an unsupported MIME type: X-NSObject/NSNumber
Package Authoring Error: <background_alignment> has an unsupported MIME type: X-NSObject/NSNumber
Package Authoring Error: <layout-direction> has an unsupported MIME type: X-NSObject/NSNumber
which is weird because background is defined in pkg Distribution XML as:
<background file="background.tiff" alignment="bottomleft" scaling="none" mime-type="image/tiff"/>
based on specification of Distribution file in https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html
Similar problems can be seen even on pkg installers that contain no background XML element. That also includes pkg files downloaded from Apple website.
Is there any explanation where these errors are coming from?