-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transporter gives Incomplete Document Type Configuration warning on .pkg verification #4614
Comments
|
I'm having the same issue. See also #4052 |
When I
yarn dist
a MAS target and add the resulting pkg to transporter and then verify the pkg I receive the following warning:WARNING ITMS-90788: "Incomplete Document Type Configuration. The CFBundleDocumentTypes dictionary array in the 'com.raisedwizardry.imgViewOn' Info.plist should contain an LSHandlerRank value for the CFBundleTypeName 'webp' entry. Refer to https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-SW1 for more information on the LSHandlerRank key."
This same warning happens for each file association I have set in my package.json as follows (I happen to have 13 of them meaning 13 warning errors):
After reading the link in the error which mentions CFBundleTypeName and LSHandlerRank as well as the electron builder docs on file association it seems that an entry for Handler rank with value of Default needs to be added to the info.plist Document Type Array for each item in the array. This is described pretty well in this stack overflow issue. I was able to get the warning to go away by adding the entry in info.plist as described in stack overflow however it was painfully manual.
It is curious that in the docs, role is listed twice. Almost as if a mac only entry for fileAssociations rank should exist with options Owner, Default, Alternate or None:
The text was updated successfully, but these errors were encountered: