Skip to content
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

Errors when trying to deploy a MAS app built with electron-builder #217

Closed
danieldoddjr opened this issue Nov 14, 2019 · 3 comments
Closed
Labels

Comments

@danieldoddjr
Copy link

danieldoddjr commented Nov 14, 2019

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?

@danieldoddjr
Copy link
Author

danieldoddjr commented Nov 20, 2019

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!

@sethlu
Copy link
Contributor

sethlu commented Nov 21, 2019

Ah sorry I mislabeled the issue as "enhancement" last week.
Sounds like you have already resolved the issue?

@danieldoddjr
Copy link
Author

Yes. Issue resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants