Skip to content

Commit

Permalink
Merge pull request #7232 from nextcloud/bugfix/webengineprocess-crash…
Browse files Browse the repository at this point in the history
…-mac

Fix QtWebEngineProcess crash on macOS when building with mac-crafter
  • Loading branch information
claucambra authored Sep 30, 2024
2 parents f7a138a + 89b1328 commit 39c0829
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin/osx/mac-crafter/Sources/Utils/Codesign.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ func codesignClientAppBundle(
print("Code-signing QtWebEngineProcess...")
let qtWebEngineProcessPath =
"\(frameworksPath)/QtWebEngineCore.framework/Versions/A/Helpers/QtWebEngineProcess.app"
try codesign(identity: codeSignIdentity, path: qtWebEngineProcessPath)
try codesign(identity: codeSignIdentity,
path: qtWebEngineProcessPath,
options: "--timestamp --force --verbose=4 --options runtime --deep --entitlements \(qtWebEngineProcessPath)/Contents/Resources/QtWebEngineProcess.entitlements")

print("Code-signing QtWebEngine...")
try codesign(identity: codeSignIdentity, path: "\(frameworksPath)/QtWebEngineCore.framework")
Expand Down

0 comments on commit 39c0829

Please sign in to comment.