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

publishing to mac app store #537

Closed
chunkiat82 opened this issue Nov 11, 2016 · 8 comments
Closed

publishing to mac app store #537

chunkiat82 opened this issue Nov 11, 2016 · 8 comments
Labels

Comments

@chunkiat82
Copy link

chunkiat82 commented Nov 11, 2016

Hi,

Can you share the settings for publishing this app to mas?

I have this setting below, care to comment?

Thanks!

"build": {
    "appId": "com.foo.bar",
    "category": "public.app-category.productivity",
    "mac": {
      "target": "mas",
      "identity": "XXXXXXXX",
      "icon": "resources/icon.icns",
      "category": "public.app-category.productivity"
    }
@chunkiat82
Copy link
Author

chunkiat82 commented Nov 11, 2016

I get the following error when I uploaded to MAS

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 'com.foo.bar.pkg/Payload/electron-react-boilerplate.app/Contents/MacOS/electron-react-boilerplate'."

@chunkiat82
Copy link
Author

just packing to dmg, works fine.

@amilajack
Copy link
Member

XXXXXXXX is your apple certificate. You need an apple developer license to publish to app store

@chunkiat82
Copy link
Author

@amilajack yes, I put to XXXX and com.foo.bar as examples only.

I have managed to sign it without problems. And I have the Apple Certificate and License. This is my first Mac App but I have published iOS apps.

Do you have more examples on the settings or documentation on the signing procedure?

I am more curious about the one particular error above when I uploaded to the store (it's not a build problem)

Thanks!

@amilajack
Copy link
Member

I would recommend checking out the electron-builder's docs for more information. I think this is an electron-builder specific issue.

@chunkiat82
Copy link
Author

ok thanks

@chunkiat82
Copy link
Author

@amilajack

FYI This is issue I am facing

electron-userland/electron-builder#897

@jamesporter
Copy link

One thing I found extremely confusing is that that mas build is apparently not meant to run locally. You can do a mas-dev target but this will seemingly require a separate provisioning profile.

I find this Apple signing stuff is extremely confusing (and I've done iOS development for years), gave up on whole thing at least 3 times. I'm assuming very few people are actually distributing electron apps via app store given lack of issues/documentation around it. For non-App store signing was a lot more straightforward.

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

3 participants