Code Monkey home page Code Monkey logo

Comments (10)

elvis-epx avatar elvis-epx commented on August 21, 2024 1

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.

elvis-epx avatar elvis-epx commented on August 21, 2024

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.

sethlu avatar sethlu commented on August 21, 2024

@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.

elvis-epx avatar elvis-epx commented on August 21, 2024

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.

sethlu avatar sethlu commented on August 21, 2024

@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.

sethlu avatar sethlu commented on August 21, 2024

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.

cc: @malept @develar


Project repo: https://github.com/sethlu/electron-osx-sign-guide

from osx-sign.

elvis-epx avatar elvis-epx commented on August 21, 2024

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.

sethlu avatar sethlu commented on August 21, 2024

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.

elvis-epx avatar elvis-epx commented on August 21, 2024

Sure! My time will be limited (for work, at least :) in the next 7 days but in time will do.

from osx-sign.

elvis-epx avatar elvis-epx commented on August 21, 2024

(And feel free to use whatever you want from my text.)

from osx-sign.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.