-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Add a --skip-signing option when building macos / ios apps #1844
Comments
This is definitely a niche use case (and one that is, AFAICT, specific to macOS), but I guess there's no reason we shouldn't support it; although "sign then remove signature" would be a viable workflow, that means doing some redundant work. Ironically, Briefcase had a If we are going to re-introduce this option, we need to careful about the design of interactions between My immediate suggestion is that Looking at related tickets:
|
I actually made my local changes against this branch and it was pretty easy to do.
If it's of interest I had success building the bundle with |
Oh sure - I'm just highlighting that this approach requires an copy from an obscure path deep in the |
FWIW I ended up writing a script to:
Which ended up working significantly more easily and with less complaining from Apple's code signing tooling than I expected. It's possibile that step 2 could be skipped (which would save me some build time) because I end up If anyone else is looking to do something like this with their briefcase app (embed into larger app and resign appropriately) I'm happy to share the bash script that handles this. |
What is the problem or limitation you are having?
I'm looking to embed the
.app
produced bybriefcase build
in another.app
bundle. As such I would like the flexibility to postpone the signing of the build products to later, when I actually do the embedding.Describe the solution you'd like
briefcase build --skip-signing
would do everything but sign the code.Describe alternatives you've considered
I can remove the signing information with
codesign --remove-signature
and then re-sign later when assembling the final.app
bundle.Additional context
I've already implemented this for my local use with a
pyproject.toml
setting:but i think it's probably better as a CLI option.
The text was updated successfully, but these errors were encountered: