Comments (10)
The following script condenses what has worked for me: https://github.com/elvis-epx/Biorhythmics/blob/master/electron/pkg (the enclosing folder is an open-source Electron app that I put together for a related article).
I was able to test the sandboxed version with development sign (and solve the sandbox-related problems) and also submitted the production-signed pkg to App Store. Let's see if it is approved.
from osx-sign.
Amen. Needed to pass the provisioning profile parameter for both development (testing) and upload versions, it was not clear from the documentation that they were necessary, and the errors that Application Loader emits are not very clear.
from osx-sign.
@elvis-epx thanks for letting us know the difficulties you had with code signing your products! We are still working on providing a better documentation/tutorial for code signing. Apparently the provisioning profiles are necessary for signing (due to the entitlements with application group etc) and we are not yet addressing this in the documentation. However, we will keep the updates posted once that is released! 😸 And do let us know if there be other issues signing with electron-osx-sign
.
from osx-sign.
I was planning to write an article about it, but it is probably more productive to collaborate directly on existing documents. WIll find the way to do it next week.
from osx-sign.
@elvis-epx So far we have some existing documents on the Wiki page (https://github.com/electron-userland/electron-osx-sign/wiki) that @jasonhinkle helped put up earlier this year. However, as provisioning profile is not something we really use with signing before application group (ElectronTeamID
) was introduced in Electron this summer, the docs haven't been updated to cover --provisioning-profile
or the current workflow of embedding provisioning profile in the app bundle.
Out of curiosity, what's your current method to codesign your app bundle?
#112 should partly address this issue before release 0.4.2
from osx-sign.
Hi @elvis-epx, I have posted a codesigning guide (draft) here (https://mintkit.net/electron-userland/electron-osx-sign/guide/) and will open a repo soon once I have the text/code reviewed for better performance. It is essentially a code generator and a walkthrough to set up your code signing environment varying by preference.
Project repo: https://github.com/sethlu/electron-osx-sign-guide
from osx-sign.
Did my homework as well not to lose the details in the L1 cache in the brain. https://epxx.co/artigos/electronsign.html. As soon as you open the repo I will compare and fulfill your text with more details that might be good to add. BTW my app was finally accepted by App Store, so the script is "proven" to work :P
from osx-sign.
Happy new year @elvis-epx! Sorry for my replying this late... I have just read your tutorial and it is a good walkthrough for beginners to codesign their app bundles. Thanks so much for your effort in putting that up! Would you mind my citing some of your words in that shared interactive guide I published last week? I'm thinking about adding a few expandable textboxes to explain some technical terms like "provisioning profile" better.
from osx-sign.
Sure! My time will be limited (for work, at least :) in the next 7 days but in time will do.
from osx-sign.
(And feel free to use whatever you want from my text.)
from osx-sign.
Related Issues (20)
- perFileOptions affect all of the files HOT 2
- MAS - Code Signature Invalid HOT 2
- It clones signing options for every file it signs HOT 4
- Sandbox entitlement leads to crash at launch HOT 2
- "Unidentified developer" when opening universal app HOT 12
- Unsigned library dependencies HOT 1
- Latest release (1.0.2) is broken: [FAILED] Cannot find module './sign' (ships only index.js, eg. sign.js is missing) HOT 4
- Electron-Fast Api App not working after signing HOT 1
- Bypass spctl check?
- Running electron-oxs-sign on MacBook Air (M2) prevent python from working thereafter HOT 2
- Cannot push to Appstore Connect
- Asset validation failed (90266) Install folder failed HOT 1
- Mac App Store refuses app via transporter HOT 11
- Signing fails in Yarn PnP environments HOT 3
- invalid destination for symbolic link in bundle HOT 1
- Hello world
- preAutoEntitlements are applied to wrong files (inherit files) and breaks Mac App Store build HOT 1
- Signed app crashing on arm64 HOT 1
- Default `embedded.provisionprofile` doesn't used in `signApplication` HOT 2
- Codesign all files in one step
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osx-sign.