Most appropriate sub-area of Processing 4?
Build process
Processing version
4.5.3
Operating system
macOS
Bug description
Release level builds fail on macOS at the notarization step (see last release build run output) Testing locally, when you run:
./gradlew app:packageDistributionForCurrentOS
And then examine Processing.app with the codesign tool:
codesign --verify --deep --strict --verbose=2 <path-to-processing>
The output says "a sealed resource is missing or invalid" and that the resources for pde.icns, pdez.icns, and pdex.icns have been added since the app was signed.
Steps to reproduce this
-
Build on mac with ./gradlew app:packageDistributionForCurrentOS
-
Run codesign --verify --deep --strict --verbose=2 <path-to-processing> on the .app created in the build process
snippet
// Paste your code below :)
void setup() {
}
void draw() {
}
Additional context
With thanks to Claude and StackOverflow, I've learned that Jetpack Compose's default macOS app signing is not compatible with fileAssociation() so we either need to:
- add a step to the process that re-signs the macOS app after the files have been associated, but before they are sent to the notary OR
- separate how Windows, Linux, and Mac handle file associations so we can keep using the default Jetpack Compose app signing
I have a tentative solution that looks like option 2. I'll share a draft—I only have access to a Mac for development and can't test Windows & Linux on my own.
Would you like to work on the issue?
Yes, I’d like to help with this
Most appropriate sub-area of Processing 4?
Build process
Processing version
4.5.3
Operating system
macOS
Bug description
Release level builds fail on macOS at the notarization step (see last release build run output) Testing locally, when you run:
And then examine Processing.app with the codesign tool:
The output says "a sealed resource is missing or invalid" and that the resources for pde.icns, pdez.icns, and pdex.icns have been added since the app was signed.
Steps to reproduce this
Build on mac with
./gradlew app:packageDistributionForCurrentOSRun
codesign --verify --deep --strict --verbose=2 <path-to-processing>on the .app created in the build processsnippet
Additional context
With thanks to Claude and StackOverflow, I've learned that Jetpack Compose's default macOS app signing is not compatible with
fileAssociation()so we either need to:I have a tentative solution that looks like option 2. I'll share a draft—I only have access to a Mac for development and can't test Windows & Linux on my own.
Would you like to work on the issue?
Yes, I’d like to help with this