After I run dist with electron-builder and try to up load to App Store Connect I get these three issues.
ERROR ITMS-90236: "Missing required icon. The application bundle does not contain an icon in ICNS format, containing both a 512x512 and a 512x512@2x image. For further assistance, see the Apple Human Interface Guidelines at https://developer.apple.com/macos/human-interface-guidelines/icons-and-images/app-icon"
ERROR ITMS-90287: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.application-identifier' in 'io.lutd.liteplayer.macos.pkg/Payload/Lite Player.app/Contents/MacOS/Lite Player'."
ERROR ITMS-90287: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.developer.team-identifier' in 'io.lutd.liteplayer.macos.pkg/Payload/Lite Player.app/Contents/MacOS/Lite Player'."
What can I do to get the "Invalid Code Signing Entitlements" issue resolved?
Okay. So the icon file .icns is a collection of images. The file I made only had one resolution in it. Here is a helpful article on how to make one with multi resolutions. https://elliotekj.com/2014/05/27/how-to-create-high-resolution-icns-files/
With the Invalid Code Signing Entitlements I needed to make a provision file, add it to the root of the directory of the project, and then reference it in the package.json under build->mac->"provisionProfile".
No more errors!
Ah sorry I mislabeled the issue as "enhancement" last week.
Sounds like you have already resolved the issue?
Yes. Issue resolved!