Commit 0bfc97f
authored
fix(build): sign all Mach-O binaries inside non-standard framework bundles (#1254)
PyInstaller copies Python.framework contents as separate files rather than
symlinks, so Python, Versions/Current/Python, and Versions/3.9/Python are
distinct inodes. The previous fallback only signed the single $fw_name binary,
leaving the Versions/ copies unsigned — causing Apple notarization to reject
all three affected watcher bundles (~6 errors per watcher, ~18 total).
Replace the single-binary fallback with a loop that finds all Mach-O files
inside the framework via `find -type f | xargs file | grep Mach-O` and signs
each via a temp-path copy (avoids the in-place "bundle format is ambiguous"
error from codesign when the parent dir is a .framework).
This fix was validated in CI on the #1252 PR branch (3e635e4): all platforms
passed including both macOS Build Tauri jobs with notarization succeeding.1 parent c94ac70 commit 0bfc97f
1 file changed
Lines changed: 18 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
165 | 166 | | |
166 | | - | |
167 | | - | |
168 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
169 | 170 | | |
170 | | - | |
171 | | - | |
172 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
173 | 175 | | |
174 | 176 | | |
| 177 | + | |
175 | 178 | | |
176 | 179 | | |
177 | 180 | | |
| |||
0 commit comments