Testing MAS builds locally
See original GitHub issue- Version: 12.0.3
- Target: MAS
Running MAS builds locally no longer works, due to changes in Apple guidelines and electron-osx-sign documented here: https://github.com/electron-userland/electron-osx-sign/pull/105#issuecomment-260211431
Recently, the com.apple.developer.team-identifier entitlement was added to all new Mac provisioning profiles. This means that, going forward, distribution builds of Mac apps cannot be run directly; they are for submitting to iTunes Connect for app review only.
@develar’s suggestion from another issue is to provide a mas-dev
build target to fix this issue: https://github.com/electron-userland/electron-builder/issues/897#issuecomment-270881631
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:16 (11 by maintainers)
Top Results From Across the Web
Testing MAS build locally? | Apple Developer Forums
I'm trying to create a package for the Mac App Store using Electron 6.1.9 and Electron builder 21.2.0. ... It appears to work...
Read more >electron: how to test a MAS package before submitting to the ...
You can test the app locally by re-signing with a Developer ID certificate/provisioning profile. These are also for distribution (just not ...
Read more >Ability to test YAML builds locally - Visual Studio Feedback
When testing out YAML builds, I find that my workflow devolves into a bunch of modify local, add, commit, push loops until I...
Read more >MAS - electron-builder
MAS. The top-level mas key contains set of options instructing electron-builder on how it should build MAS (Mac Application Store) target.
Read more >Testing your site locally - Karl Broman
To construct and test your site locally, go into the directory and type. jekyll build. This will create (or modify) a _site/ directory, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
At first it didn’t work for me. It did when I added the dev provisioning profile into the same folder. To create a dev profile I had to create a dev certificate and specify the UUID of the machines I want to run the app on.
I was able to build a
mas
target that runs locally by setting"type": "development"
in electron-builder’s config, and placing myApp_Development.provisionprofile
in the project directory. 🎉However, I also had to remove all but one “Mac Developer” key from my keychain, or else electron-builder would attempt to use the wrong identity, and setting CSC_NAME did not work.