Commit 93053d0
authored
fix(build): sign non-standard framework binary via temp copy to avoid ambiguity (#1250)
codesign refuses to sign Python.framework/Python in-place when the binary
is inside a .framework directory — it sees the directory context and reports
'bundle format is ambiguous (could be app or framework)'.
The #1249 fallback correctly detected this case but then called sign_binary
on the same path, which hits the same codesign check.
Fix: copy the binary to a temp path outside any .framework dir, sign it
there, then copy the signed binary back. Code signatures are embedded in
the Mach-O binary (not path-dependent), so the result is identical.
This should be the final fix needed to unblock the Build Tauri master CI
and allow the Thursday 2026-04-09 12:00 UTC scheduled dev release to run.1 parent 6d836c0 commit 93053d0
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| |||
0 commit comments