Package Authoring Error when opening pkg file

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?

Can you point me at an example installer package that triggers the problem?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Hi Quinn.


An example from Apple support downloads (no pkg background):

https://support.apple.com/kb/DL2014


An example from Apple developer downloads (with pkg background):

https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_11.3.1/Command_Line_Tools_for_Xcode_11.3.1.dmg

Any news on that issue?
If this is happening on Apple-authored packages then that’s clearly a bug and you should file it as such.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I wrote:

Please post your bug number, just for the record.

fishbacp wrote:

Was this ever resolved?

Without a bug number it’s impossible [1] for me to track down whether Apple took any action on this front.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] Well, not truly impossible, but it would require more time than I have available to spend on DevForums.

Package Authoring Error when opening pkg file
 
 
Q